rename wasm-cli-run -> gen-llvm-wasm

This commit is contained in:
Folkert 2022-07-10 12:14:34 +02:00
parent f80ab79c8e
commit 1ed648554d
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C
4 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@
test-gen-llvm = "test -p test_gen"
test-gen-dev = "test -p roc_gen_dev -p test_gen --no-default-features --features gen-dev"
test-gen-wasm = "test -p roc_gen_wasm -p test_gen --no-default-features --features gen-wasm"
test-gen-llvm-wasm = "test -p roc_gen_wasm -p test_gen --no-default-features --features gen-llvm-wasm"
[target.wasm32-unknown-unknown]
# Rust compiler flags for minimum-sized .wasm binary in the web REPL

View File

@ -50,7 +50,7 @@ default = ["gen-llvm"]
gen-llvm = []
gen-dev = []
gen-wasm = []
wasm-cli-run = []
gen-llvm-wasm = ["gen-llvm"]
[[bench]]
name = "list_map"

View File

@ -2656,7 +2656,7 @@ fn pattern_match_unit_tag() {
}
// see for why this is disabled on wasm32 https://github.com/rtfeldman/roc/issues/1687
#[cfg(not(feature = "wasm-cli-run"))]
#[cfg(not(feature = "gen-llvm-wasm"))]
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn mirror_llvm_alignment_padding() {

View File

@ -596,7 +596,7 @@ macro_rules! assert_evals_to {
}};
($src:expr, $expected:expr, $ty:ty, $transform:expr, $ignore_problems: expr) => {{
// same as above, except with ignore_problems.
#[cfg(feature = "wasm-cli-run")]
#[cfg(feature = "gen-llvm-wasm")]
$crate::helpers::llvm::assert_wasm_evals_to!(
$src,
$expected,
@ -617,7 +617,7 @@ macro_rules! assert_evals_to {
macro_rules! expect_runtime_error_panic {
($src:expr) => {{
#[cfg(feature = "wasm-cli-run")]
#[cfg(feature = "gen-llvm-wasm")]
$crate::helpers::llvm::assert_wasm_evals_to!(
$src,
false, // fake value/type for eval