Skip to content

Commit 949a22b

Browse files
danielsntedinski
authored andcommitted
Always crebuild the rmc-lib to avoid problems when compiler upgrades (rust-lang#649)
1 parent fc272e8 commit 949a22b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/setup/build_rmc_lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ SCRIPTS_DIR="$(dirname $SCRIPT_DIR)"
1010
REPO_DIR="$(dirname $SCRIPTS_DIR)"
1111

1212
export RUSTC=$(${SCRIPTS_DIR}/rmc-rustc --rmc-path)
13+
cargo clean --manifest-path "${REPO_DIR}/library/rmc/Cargo.toml" $@
1314
cargo build --manifest-path "${REPO_DIR}/library/rmc/Cargo.toml" $@
1415

0 commit comments

Comments
 (0)