mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix cfg for target-wasm32 cli tests
This commit is contained in:
parent
53a1edb03a
commit
f28ddea805
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ pub fn arch_str(target: Target) -> &'static str {
|
|||
roc_target::Architecture::X86_32 if cfg!(feature = "target-x86") => "x86",
|
||||
roc_target::Architecture::Aarch64 if cfg!(feature = "target-aarch64") => "aarch64",
|
||||
roc_target::Architecture::Aarch32 if cfg!(feature = "target-arm") => "arm",
|
||||
roc_target::Architecture::Wasm32 if cfg!(feature = "target-webassembly") => "wasm32",
|
||||
roc_target::Architecture::Wasm32 if cfg!(feature = "target-wasm32") => "wasm32",
|
||||
_ => internal_error!(
|
||||
"TODO gracefully handle unsupported target architecture: {:?}",
|
||||
target.architecture()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue