Skip to content

Commit 6753cf8

Browse files
committed
Fix the CI script to work with the new cargo
New `cargo` versions don't allow `--features` in virtual workspaces anymore, even if a `-p` was specified.
1 parent 9dbc433 commit 6753cf8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ci/build_for_deployment.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ else
1111
fi
1212
set -e
1313

14+
cd preload
1415
if [ "$IS_NIGHTLY" = "1" ]; then
15-
cargo build --release --target=x86_64-unknown-linux-gnu -p memory-profiler --features nightly
16+
cargo build --release --target=x86_64-unknown-linux-gnu --features nightly
1617
else
17-
cargo build --release --target=x86_64-unknown-linux-gnu -p memory-profiler
18+
cargo build --release --target=x86_64-unknown-linux-gnu
1819
fi
20+
cd ..
1921

2022
cargo build --release --target=x86_64-unknown-linux-gnu -p memory-profiler-cli
2123
cargo build --release --target=x86_64-unknown-linux-gnu -p memory-profiler-gather

0 commit comments

Comments
 (0)