aboutsummaryrefslogtreecommitdiff
path: root/goodfile
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2025-09-29 02:57:41 +0000
committeriximeow <me@iximeow.net>2025-09-29 03:30:42 +0000
commitd6a936b045d6efea2bee4fb4ee4a14c28c11f6de (patch)
treef443b0dd5a1483d55a500f6d9faafed854c3b0f6 /goodfile
parent5d4abf4603c46a7e1c1de5b436d699c09dcf8861 (diff)
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.
Diffstat (limited to 'goodfile')
-rw-r--r--goodfile3
1 files changed, 3 insertions, 0 deletions
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")