Skip to content

Commit

Permalink
remove dead/broken bootstrap stage detection from link_rust.sh
Browse files Browse the repository at this point in the history
Closes rust-lang#246

This became even more broken with rust-lang/rust#116196, which renamed `src/bootstrap/lib.rs`
  • Loading branch information
aDotInTheVoid authored Jul 3, 2024
1 parent 83c646b commit b36027f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ansible/roles/dev-desktop/files/scripts/link_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ for D in rust*; do
if [ -d "$D" ]; then
pushd "$D"

bootstrap_version=$(grep 'pub const VERSION' src/bootstrap/lib.rs | grep -o '[0-9]*')

if [ "$bootstrap_version" -gt 2 ]; then
stages=(stage1-sysroot stage2-sysroot)
else
stages=(stage1 stage2)
fi
stages=(stage1 stage2)

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

0 comments on commit b36027f

Please sign in to comment.