add rust-toolchain.toml

This commit is contained in:
Corwin Kuiper 2021-05-23 02:16:15 +01:00
parent 7f4e941b50
commit 1a7d31d11a
2 changed files with 3 additions and 7 deletions

View file

@ -22,13 +22,6 @@ jobs:
sudo apt-get install libzip5 ./mGBA-0.9.0-ubuntu64-focal/libmgba.deb -y && \ sudo apt-get install libzip5 ./mGBA-0.9.0-ubuntu64-focal/libmgba.deb -y && \
rm -rf mgba.tar.xz mGBA-0.9.0-ubuntu64-focal rm -rf mgba.tar.xz mGBA-0.9.0-ubuntu64-focal
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Nightly rust with required components
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-04-20
components: clippy, rust-src
override: true
- name: Cache - name: Cache
uses: actions/cache@v2.1.1 uses: actions/cache@v2.1.1
with: with:

3
agb/rust-toolchain.toml Normal file
View file

@ -0,0 +1,3 @@
[toolchain]
channel = "nightly"
components = ["rust-src"]