Merge pull request #3735 from roc-lang/turn-on-abilities-wasm-tests

Turn abilities tests for wasm dev and wasm LLVM back on
This commit is contained in:
Folkert de Vries 2022-08-14 16:18:48 +02:00 committed by GitHub
commit f2a6310137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 17 deletions

View file

@ -45,7 +45,7 @@ libloading = "0.7.1"
tempfile = "3.2.0"
indoc = "1.0.3"
criterion = { git = "https://github.com/Anton-4/criterion.rs" }
wasm3 = "0.3.1"
wasm3 = { git = "https://github.com/roc-lang/wasm3-rs", rev = "f0f807d1fc0a50d1d68e5799e54ee62c05af00f5" }
lazy_static = "1.4.0"
[features]

View file

@ -715,10 +715,7 @@ fn encode_derived_list_of_lists_of_strings() {
}
#[test]
#[cfg(all(
any(feature = "gen-llvm", feature = "gen-wasm"),
not(feature = "gen-llvm-wasm") // hits a stack limit in wasm3
))]
#[cfg(all(any(feature = "gen-llvm", feature = "gen-wasm")))]
fn encode_derived_record_with_many_types() {
assert_evals_to!(
indoc!(
@ -877,7 +874,7 @@ mod decode_immediate {
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn dec() {
use roc_std::RocDec;
@ -899,7 +896,7 @@ mod decode_immediate {
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn decode_list_of_strings() {
assert_evals_to!(
indoc!(
@ -918,10 +915,7 @@ fn decode_list_of_strings() {
}
#[test]
#[cfg(all(
any(feature = "gen-llvm"), // currently fails on gen-wasm
not(feature = "gen-llvm-wasm") // hits a stack limit in wasm3
))]
#[cfg(all(any(feature = "gen-llvm", feature = "gen-wasm")))]
fn encode_then_decode_list_of_strings() {
assert_evals_to!(
indoc!(