diff --git a/crates/compiler-builtins-smoke-test/Cargo.toml b/crates/compiler-builtins-smoke-test/Cargo.toml index 40e75dd2..29c6a15b 100644 --- a/crates/compiler-builtins-smoke-test/Cargo.toml +++ b/crates/compiler-builtins-smoke-test/Cargo.toml @@ -3,4 +3,6 @@ name = "cb" version = "0.1.0" authors = ["Jorge Aparicio "] -[dependencies] +[features] +default = [] +stable = [] \ No newline at end of file diff --git a/crates/compiler-builtins-smoke-test/src/lib.rs b/crates/compiler-builtins-smoke-test/src/lib.rs index 7fad301b..51ff3059 100644 --- a/crates/compiler-builtins-smoke-test/src/lib.rs +++ b/crates/compiler-builtins-smoke-test/src/lib.rs @@ -4,6 +4,10 @@ #![allow(dead_code)] #![no_std] +#![cfg_attr( + all(target_arch = "wasm32", not(feature = "stable")), + feature(core_intrinsics) +)] #[path = "../../../src/math/mod.rs"] mod libm;