From 6431ca2ebf1e9cbb5402b59dbe19fa6b4046db07 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 18 Mar 2025 10:58:39 +0000 Subject: [PATCH] Remove unneeded `--manifest-path` from CI scripts Since 942ab9fc37 ("Move `examples/intrinsics.rs` to its own crate"), `testcrate` is a default workspace member so there is no need to specify it explicitly when testing or building. Use this to clean up CI scripts. --- ci/run.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/run.sh b/ci/run.sh index 3625dde79..382d59886 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -23,7 +23,7 @@ fi if [ "${NO_STD:-}" = "1" ]; then echo "nothing to do for no_std" else - run="cargo test --manifest-path testcrate/Cargo.toml --no-fail-fast --target $target" + run="cargo test --no-fail-fast --target $target" $run $run --release $run --features c @@ -38,8 +38,7 @@ fi if [ "${TEST_VERBATIM:-}" = "1" ]; then verb_path=$(cmd.exe //C echo \\\\?\\%cd%\\testcrate\\target2) - cargo build --manifest-path testcrate/Cargo.toml \ - --target "$target" --target-dir "$verb_path" --features c + cargo build --target "$target" --target-dir "$verb_path" --features c fi declare -a rlib_paths