mirror of
https://github.com/roc-lang/roc.git
synced 2024-10-05 14:47:18 +03:00
rust 1.77 upgrade
This commit is contained in:
parent
5c45cc9c3e
commit
d16409552c
2
.github/workflows/ubuntu_x86_64.yml
vendored
2
.github/workflows/ubuntu_x86_64.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
run: cargo run --locked --release format --check crates/compiler/builtins/roc
|
||||
|
||||
- name: ensure there are no unused dependencies
|
||||
run: cargo +nightly-2023-12-21 udeps --all-targets
|
||||
run: cargo +nightly-2024-02-03 udeps --all-targets
|
||||
|
||||
- name: zig wasm tests
|
||||
run: cd crates/compiler/builtins/bitcode && ./run-wasm-tests.sh
|
||||
|
4
.github/workflows/windows_release_build.yml
vendored
4
.github/workflows/windows_release_build.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
||||
- name: zig version
|
||||
run: zig version
|
||||
|
||||
- name: install rust nightly 1.76.0
|
||||
run: rustup install nightly-2023-12-21
|
||||
- name: install rust nightly 1.77.0
|
||||
run: rustup install nightly-2024-02-03
|
||||
|
||||
- name: set up llvm 16
|
||||
run: |
|
||||
|
4
.github/workflows/windows_tests.yml
vendored
4
.github/workflows/windows_tests.yml
vendored
@ -37,8 +37,8 @@ jobs:
|
||||
cd crates\compiler\builtins\bitcode\
|
||||
zig build test
|
||||
|
||||
- name: install rust nightly 1.76.0
|
||||
run: rustup install nightly-2023-12-21
|
||||
- name: install rust nightly 1.77.0
|
||||
run: rustup install nightly-2024-02-03
|
||||
|
||||
- name: set up llvm 16
|
||||
run: |
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
VERSION 0.6
|
||||
FROM rust:1.76.0-slim-buster # make sure to update rust-toolchain.toml too so that everything uses the same rust version
|
||||
FROM rust:1.77.2-slim-buster # make sure to update rust-toolchain.toml too so that everything uses the same rust version
|
||||
WORKDIR /earthbuild
|
||||
|
||||
prep-debian:
|
||||
|
@ -526,7 +526,7 @@ pub fn rebuild_host(
|
||||
// on windows, we need the nightly toolchain so we can use `-Z export-executable-symbols`
|
||||
// using `+nightly` only works when running cargo through rustup
|
||||
let mut cmd = rustup();
|
||||
cmd.args(["run", "nightly-2023-12-21", "cargo"]);
|
||||
cmd.args(["run", "nightly-2024-02-03", "cargo"]);
|
||||
|
||||
cmd
|
||||
} else {
|
||||
|
@ -1,5 +1,5 @@
|
||||
[toolchain]
|
||||
channel = "1.76.0"
|
||||
channel = "1.77.2"
|
||||
|
||||
profile = "default"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
[toolchain]
|
||||
channel = "1.76.0"
|
||||
channel = "1.77.2"
|
||||
|
||||
profile = "default"
|
||||
|
||||
|
@ -92,11 +92,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712369449,
|
||||
"narHash": "sha256-tbWug3uXPlSm1j0xD80Y3xbP+otT6gLnQo1e/vQat48=",
|
||||
"lastModified": 1713150335,
|
||||
"narHash": "sha256-Ic7zCPfiSYc9nFFp+E44WFk3TBJ99J/uPZ4QXX+uPPw=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "41b3b080cc3e4b3a48e933b87fc15a05f1870779",
|
||||
"rev": "b186d85e747e2b7bee220ec95839fb66c868dc47",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -5,16 +5,16 @@
|
||||
# - update `channel = "RUST_VERSION"` in examples/glue/rust-platform/rust-toolchain.toml
|
||||
# - update FROM rust:RUST_VERSION-slim-buster in Earthfile
|
||||
# - to update the nightly version:
|
||||
# - Find the latest nightly release that matches RUST_VERSION here: https://github.com/oxalica/rust-overlay/tree/master/manifests/nightly/2023
|
||||
# - Find the latest nightly release that matches RUST_VERSION here: https://github.com/oxalica/rust-overlay/tree/master/manifests/nightly/2024
|
||||
# - update `channel = "nightly-OLD_DATE"` below
|
||||
# - update nightly-OLD_DATE in .github/workflows/ubuntu_x86_64.yml
|
||||
# - update nightly-OLD_DATE in .github/workflows/windows_tests.yml
|
||||
# - update nightly-OLD_DATE in .github/workflows/windows_release_build.yml
|
||||
# - update nightly-OLD_DATE in crates/compiler/build/src/link.rs
|
||||
|
||||
channel = "1.76.0" # check ^^^ when changing this
|
||||
channel = "1.77.2" # check ^^^ when changing this
|
||||
#
|
||||
# channel = "nightly-2023-12-21" # 1.76.0 nightly to be able to use unstable features
|
||||
# channel = "nightly-2024-02-03" # 1.77.0 nightly to be able to use unstable features
|
||||
profile = "default"
|
||||
components = [
|
||||
# for usages of rust-analyzer or similar tools inside `nix develop`
|
||||
|
Loading…
Reference in New Issue
Block a user