diff options
| -rw-r--r-- | goodfile | 3 | ||||
| -rw-r--r-- | test/long_mode/mod.rs | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -12,9 +12,12 @@ Step.advance("test") Build.run({"cargo", "test"}, {name="test stdlib/fmt"}) -- artifacts are stored under `name` if that's present Build.run({"cargo", "test", "--no-default-features"}, {name="test nostdlib/nofmt"}) Build.run({"cargo", "test", "--no-default-features", "--features", "fmt"}, {name="test nostdlib/fmt"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std"}, {name="test nostdlib/std"}) +Build.run({"cargo", "test", "--no-default-features", "--features", "std,fmt"}, {name="test nostdlib/std+fmt"}) Step.start("ffi") Step.push("build") +Build.run({"rustup", "component", "add", "rust-src", "--toolchain", "nightly-x86_64-unknown-linux-gnu"}) Build.run({"cargo", "+nightly", "build", "-Z", "build-std", "--release", "--no-default-features", "--target", Build.environment.vars.native_rust_triple}, {cwd="ffi/"}) Step.advance("validate") diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 2c7771c..a76bbda 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -5,7 +5,7 @@ mod operand; mod opcode; #[cfg(feature="fmt")] mod display; -#[cfg(feature="std")] +#[cfg(all(feature="std", feature="fmt"))] mod descriptions; mod evex_generated; mod reuse_test; |
