From 81529df29455e133c13f439653045755a1e0cebb Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 9 Jul 2023 16:34:19 -0700 Subject: re-enable tests, pretty sure ive squeezed out as much opt as im getting right now... --- goodfile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'goodfile') diff --git a/goodfile b/goodfile index a1fd8a3..cdd8c6f 100644 --- a/goodfile +++ b/goodfile @@ -7,24 +7,24 @@ Build.metric( Step.start("crate") Step.push("build") --- Build.run({"cargo", "build"}) -- `run` automatically records stdout and stderr to log files named after the command +Build.run({"cargo", "build"}) -- `run` automatically records stdout and stderr to log files named after the command 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"}, {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"}) Step.start("ffi") Step.push("build") --- Build.run({"cargo", "+nightly", "build", "-Z", "build-std", "--release", "--no-default-features", "--target", Build.environment.vars.native_rust_triple}, {cwd="ffi/"}) +Build.run({"cargo", "+nightly", "build", "-Z", "build-std", "--release", "--no-default-features", "--target", Build.environment.vars.native_rust_triple}, {cwd="ffi/"}) Step.advance("validate") sopath = "ffi/target/" .. Build.environment.vars.native_rust_triple .. "/release/libyaxpeax_x86_ffi_long_mode.so" --- Build.run({"ls", sopath}) --- Build.metric( --- "libyaxpeax_x86_ffi_long_mode.so size (bytes)", --- Build.environment.size(sopath) --- ) --- Build.artifact(sopath) +Build.run({"ls", sopath}) +Build.metric( + "libyaxpeax_x86_ffi_long_mode.so size (bytes)", + Build.environment.size(sopath) +) +Build.artifact(sopath) -- now run some perf numbers... Step.start("perf") -- cgit v1.1