mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 18:58:24 +03:00
rename wasm-cli-run -> gen-llvm-wasm
This commit is contained in:
parent
f80ab79c8e
commit
1ed648554d
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user