I think this should mostly Just Work after #1617 lands, but we also need to remove these cfgs (and make sure the tests pass, ofc):
-
|
// Ignore if this isn't x64, because Cranelift only supports |
|
// reference types on x64. |
|
return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64"; |
-
|
// Cranelift only supports reference types on x64. |
|
#[cfg(target_arch = "x86_64")] |
|
mod gc; |
I think this should mostly Just Work after #1617 lands, but we also need to remove these
cfgs (and make sure the tests pass, ofc):wasmtime/build.rs
Lines 214 to 216 in 647d2b4
wasmtime/tests/all/main.rs
Lines 22 to 24 in 647d2b4