We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c99bb commit 68cf4cbCopy full SHA for 68cf4cb
script/ci/cargo-clean-on-new-rustc-version.sh
@@ -11,10 +11,15 @@ if [ -f $manual_stamp_file ]; then
11
else
12
echo "A clean build has been requested, running cargo clean"
13
cargo clean
14
- # The target/ directory is now gone, and the messages below will not be printed
15
fi
+else
16
+ echo "Existing stamp not found, running cargo clean"
17
+ cargo clean
18
19
20
+# If `cargo clean` was run above, then the target/ directory is now
21
+# gone and the messages below will not be printed
22
+
23
stamp_file=target/rustc_version_stamp
24
current_version=$(rustc --version)
25
0 commit comments