Skip to content

Commit b36027f

Browse files
remove dead/broken bootstrap stage detection from link_rust.sh
Closes #246 This became even more broken with rust-lang/rust#116196, which renamed `src/bootstrap/lib.rs`
1 parent 83c646b commit b36027f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ansible/roles/dev-desktop/files/scripts/link_rust.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ for D in rust*; do
2020
if [ -d "$D" ]; then
2121
pushd "$D"
2222

23-
bootstrap_version=$(grep 'pub const VERSION' src/bootstrap/lib.rs | grep -o '[0-9]*')
24-
25-
if [ "$bootstrap_version" -gt 2 ]; then
26-
stages=(stage1-sysroot stage2-sysroot)
27-
else
28-
stages=(stage1 stage2)
29-
fi
23+
stages=(stage1 stage2)
3024

3125
for stage in "${stages[@]}"; do
3226
directory="build/${target}/${stage}"

0 commit comments

Comments
 (0)