Fix toolchain versions

This commit is contained in:
Maximilian Ammann 2021-12-09 15:19:21 +01:00
parent 1d4d2961fb
commit e2374a2157
2 changed files with 6 additions and 4 deletions

View File

@ -28,8 +28,10 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Prepare Rust Toolchain
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Prepare Rust Toolchain # This is required because we are recompiling the stdlib
run: |
rustup install nightly-2021-12-07-x86_64-unknown-linux-gnu
rustup component add rust-src --toolchain nightly-2021-12-07-x86_64-unknown-linux-gnu
- name: NPM Install
run: npm install
- name: Build

View File

@ -4,8 +4,8 @@
"description": "A mapr demo",
"main": "index.js",
"scripts": {
"start": "RUSTUP_TOOLCHAIN=nightly webpack-dev-server",
"build": "RUSTUP_TOOLCHAIN=nightly webpack"
"start": "RUSTUP_TOOLCHAIN=nightly-2021-12-07-x86_64-unknown-linux-gnu webpack-dev-server",
"build": "RUSTUP_TOOLCHAIN=nightly-2021-12-07-x86_64-unknown-linux-gnu webpack"
},
"repository": {
"type": "git",