From d6a936b045d6efea2bee4fb4ee4a14c28c11f6de Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 29 Sep 2025 02:57:41 +0000 Subject: annotation description test requires `fmt` this was missed in typical testing because either tests run with all features, no features, or fmt. there wasn't a test entry for only std, which was broken. --- goodfile | 3 +++ test/long_mode/mod.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/goodfile b/goodfile index cf93b86..7cebb9d 100644 --- a/goodfile +++ b/goodfile @@ -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; -- cgit v1.1