Skip to content

Commit 6431ca2

Browse files
committed
Remove unneeded --manifest-path from CI scripts
Since 942ab9f ("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.
1 parent b833653 commit 6431ca2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/run.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
if [ "${NO_STD:-}" = "1" ]; then
2424
echo "nothing to do for no_std"
2525
else
26-
run="cargo test --manifest-path testcrate/Cargo.toml --no-fail-fast --target $target"
26+
run="cargo test --no-fail-fast --target $target"
2727
$run
2828
$run --release
2929
$run --features c
@@ -38,8 +38,7 @@ fi
3838

3939
if [ "${TEST_VERBATIM:-}" = "1" ]; then
4040
verb_path=$(cmd.exe //C echo \\\\?\\%cd%\\testcrate\\target2)
41-
cargo build --manifest-path testcrate/Cargo.toml \
42-
--target "$target" --target-dir "$verb_path" --features c
41+
cargo build --target "$target" --target-dir "$verb_path" --features c
4342
fi
4443

4544
declare -a rlib_paths

0 commit comments

Comments
 (0)