Dev/runtime improvements for games #42

Merged
bquarkz merged 44 commits from dev/runtime-improvements-for-games into master 2026-10-14 13:58:56 +00:00
Showing only changes of commit 4669ced98e - Show all commits
+6 -1
View File
@@ -13,7 +13,12 @@ done
components=$(rustup component list --installed)
for component in rustfmt clippy llvm-tools-preview; do
if ! grep -Eq "^${component}(-|$)" <<< "$components"; then
# rustup accepts llvm-tools-preview for installation but lists llvm-tools.
component_pattern="$component"
if [[ "$component" == llvm-tools-preview ]]; then
component_pattern='llvm-tools(-preview)?'
fi
if ! grep -Eq "^${component_pattern}(-|$)" <<< "$components"; then
fail "Rust component $component"
fi
done