fix compilation of wasm32 test and skip to run wasm32 tests

This commit is contained in:
Bennet Bleßmann
2024-02-16 23:18:21 +01:00
parent 7fce688769
commit e5ad70c093
4 changed files with 37 additions and 29 deletions

View File

@@ -13,6 +13,7 @@ mod src_tests;
/// to re-generate all reference output files run `TRYCMD=overwrite cargo test -- cli_test`
/// then check that the changes are as expected e.g. by looking at the `git diff`
#[test]
#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
#[cfg_attr(miri, ignore = "blocked on crossbeam UB")]
fn cli_tests() {
trycmd::TestCases::new()