mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix toolchain versions
This commit is contained in:
parent
1d4d2961fb
commit
e2374a2157
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
@ -28,8 +28,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: Prepare Rust Toolchain
|
- name: Prepare Rust Toolchain # This is required because we are recompiling the stdlib
|
||||||
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
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
|
- name: NPM Install
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
"description": "A mapr demo",
|
"description": "A mapr demo",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "RUSTUP_TOOLCHAIN=nightly webpack-dev-server",
|
"start": "RUSTUP_TOOLCHAIN=nightly-2021-12-07-x86_64-unknown-linux-gnu webpack-dev-server",
|
||||||
"build": "RUSTUP_TOOLCHAIN=nightly webpack"
|
"build": "RUSTUP_TOOLCHAIN=nightly-2021-12-07-x86_64-unknown-linux-gnu webpack"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user