mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-11-22 08:49:30 +01:00
Merge pull request #15 from dtolnay/rustsrc
Install rust-src component by default for miri toolchain
This commit is contained in:
commit
e2fb672640
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ for tool in clippy miri; do
|
|||
echo "Updating $tool branch"
|
||||
git checkout --quiet --detach nightly
|
||||
git branch --quiet --delete --force $tool &>/dev/null || true
|
||||
sed -i "/required: false/{N;s/\n$/\n default: $tool\n/}" action.yml
|
||||
default=$tool
|
||||
if [ $tool == miri ]; then default+=,\ rust-src; fi
|
||||
sed -i "/required: false/{N;s/\n$/\n default: $default\n/}" action.yml
|
||||
git add action.yml
|
||||
git commit --quiet --message "components: $tool"
|
||||
git checkout --quiet -b $tool
|
||||
|
|
Loading…
Reference in a new issue