1
Fork 0

tests: add sanity-check assembly test for every target

Adds a basic assembly test checking that each target can produce assembly
and update the target tier policy to require this.

Signed-off-by: David Wood <david@davidtw.co>
This commit is contained in:
David Wood 2023-12-07 14:16:11 +00:00
parent 16f4b02dd8
commit a87034c297
No known key found for this signature in database
8 changed files with 803 additions and 7 deletions

View file

@ -1,7 +0,0 @@
use crate::spec::{targets::wasm32_unknown_emscripten, LinkerFlavor, Target};
pub fn target() -> Target {
let mut target = wasm32_unknown_emscripten::target();
target.add_post_link_args(LinkerFlavor::EmCc, &["-sWASM=0", "--memory-init-file", "0"]);
target
}