Skip to content

Commit

Permalink
Properly gate the compiler-builtins smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Jul 9, 2019
1 parent 10abed4 commit b82bba2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/compiler-builtins-smoke-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ name = "cb"
version = "0.1.0"
authors = ["Jorge Aparicio <jorge@japaric.io>"]

[dependencies]
[features]
default = []
stable = []
4 changes: 4 additions & 0 deletions crates/compiler-builtins-smoke-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b82bba2

Please sign in to comment.