-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test wasm32-wasip1 in CI, not wasm32-unknown-unknown #122036
Commits on Mar 11, 2024
-
Convert some WebAssembly run-make tests to Rust
This commit rewrites a number of `run-make` tests centered around wasm to instead use `rmake.rs` and additionally use the `wasm32-wasip1` target instead of `wasm32-unknown-unknown`. Testing no longer requires Node.js and additionally uses the `wasmparser` crate from crates.io to parse outputs and power assertions.
Configuration menu - View commit details
-
Copy full SHA for 7141379 - Browse repository at this point
Copy the full SHA 7141379View commit details -
libtest: Print timing information on WASI
This commit updates the libtest conditionals to use `std::time::Instant` on WASI targets where it's implemented. Previously all wasm targets wouldn't use this type.
Configuration menu - View commit details
-
Copy full SHA for 8fcc009 - Browse repository at this point
Copy the full SHA 8fcc009View commit details -
Remove old support for emscripten/wasm32-u-u
This commit removes the `wasm32-shim.js` file, for example, and deletes old support for Emscripten which hasn't been exercised in some time.
Configuration menu - View commit details
-
Copy full SHA for 7d9690a - Browse repository at this point
Copy the full SHA 7d9690aView commit details -
Configure a default
runner
for WASI targetsIf one is not explicitly configured look in the system environment to try and find one. For now just probing for `wasmtime` is implemented.
Configuration menu - View commit details
-
Copy full SHA for 341215c - Browse repository at this point
Copy the full SHA 341215cView commit details -
Update test-various docker image to test
wasm32-wasip1
Drop testing of `wasm32-unknown-unknown` and instead only test a WASI target which enables more debugging utilities such as printing.
Configuration menu - View commit details
-
Copy full SHA for fc746c8 - Browse repository at this point
Copy the full SHA fc746c8View commit details -
compiletest: Automatically compare output by subset with runners
This commit updates compiletest to automatically compare test output with subsets if a `--runner` argument is configured. Runners might inject extra information on failures, for example a WebAssembly runtime printing a wasm stack trace, which won't be in the output of a native runtime. The output with a `--runner` argument, however, should still have all the native output present.
Configuration menu - View commit details
-
Copy full SHA for 4a5aa1a - Browse repository at this point
Copy the full SHA 4a5aa1aView commit details -
Update test directives for
wasm32-wasip1
* The WASI targets deal with the `main` symbol a bit differently than native so some `codegen` and `assembly` tests have been ignored. * All `ignore-emscripten` directives have been updated to `ignore-wasm32` to be more clear that all wasm targets are ignored and it's not just Emscripten. * Most `ignore-wasm32-bare` directives are now gone. * Some ignore directives for wasm were switched to `needs-unwind` instead. * Many `ignore-wasm32*` directives are removed as the tests work with WASI as opposed to `wasm32-unknown-unknown`.
Configuration menu - View commit details
-
Copy full SHA for cf6d605 - Browse repository at this point
Copy the full SHA cf6d605View commit details