Skip to content

Commit 0da6994

Browse files
jdnojyn514
andauthored
Future-proof bootstrap version check
Co-authored-by: Joshua Nelson <github@jyn.dev>
1 parent 9287abf commit 0da6994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for D in rust*; do
2222

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

25-
if [ "$bootstrap_version" -eq 3 ]; then
25+
if [ "$bootstrap_version" -gt 2 ]; then
2626
stages=(stage1-sysroot stage2-sysroot)
2727
else
2828
stages=(stage1 stage2)

0 commit comments

Comments
 (0)