File tree 8 files changed +14
-9
lines changed
8 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ sudo apt-get install -y rsync git m4 build-essential patch unzip wget opam jq bc
40
40
# [install rust]
41
41
wget https://sh.rustup.rs/rustup-init.sh
42
42
chmod +x rustup-init.sh
43
- ./rustup-init.sh --profile minimal --default-toolchain 1.78.0 -y
43
+ ./rustup-init.sh --profile minimal --default-toolchain 1.77.2 -y
44
44
# [source cargo]
45
45
. $HOME /.cargo/env
46
46
# [get sources]
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ RUN curl https://sh.rustup.rs --silent --show-error --fail | \
34
34
ENV PATH=/root/.cargo/bin:$PATH
35
35
36
36
# install rust toolchains and compilation targets
37
- RUN rustup update 1.66.0 1.73.0 1.76.0 1.78.0 && \
37
+ RUN rustup update 1.66.0 1.73.0 1.76.0 1.77.2 1. 78.0 && \
38
38
for tc in $(rustup toolchain list | awk '{print $1}' ); do \
39
39
rustup target add --toolchain="$tc" \
40
40
wasm32-unknown-unknown \
Original file line number Diff line number Diff line change 1
- 1.78.0
1
+ 1.77.2
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ check_redirects() {
185
185
}
186
186
187
187
check_rust_toolchain_files () {
188
- authorized_version=(" 1.66.0" " 1.73.0" " 1.76.0" " 1.78.0" )
188
+ authorized_version=(" 1.66.0" " 1.73.0" " 1.76.0" " 1.77.2 " " 1. 78.0" )
189
189
190
190
declare -a rust_toolchain_files
191
191
mapfile -t rust_toolchain_files <<< " $(find src/ -name rust-toolchain)"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export opam_version_major=2
19
19
# The recommended rust version should equal the version set in the
20
20
# root rust-toolchain file, such that:
21
21
# rust-toolchain == recommended_rust_version
22
- export recommended_rust_version=1.78.0
22
+ export recommended_rust_version=1.77.2
23
23
export recommended_node_version=18.18.2
24
24
25
25
# # opam_repository is a commit hash of the public opam repository, i.e.
@@ -47,10 +47,10 @@ export dal_srs_g2_sha=97d76e266e657cc3c859c3359c717136f55cfe4c0256ea418f907406cb
47
47
export alpine_version=' 3.20'
48
48
49
49
# Installed via apk rust
50
- export rust_version=' 1.78.0 '
50
+ export rust_version=' 1.77.2 '
51
51
52
52
# Installed via apk cargo
53
- export cargo_version=' 1.78.0 '
53
+ export cargo_version=' 1.77.2 '
54
54
55
55
# Installed via apk opam
56
56
export opam_version=' 2.2.1'
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ assets/jstz assets/jstz.checksum::
52
52
53
53
.PHONY : build-deps
54
54
build-deps :
55
- @exec ./scripts/install-rust-std-hermit.sh
55
+ @make -C jstz build-deps
56
+ @make -C dummy_kernel build-deps
56
57
@rustup component add rustfmt clippy
57
58
ifneq ($(NATIVE_TARGET ) ,)
58
59
@rustup target add $(NATIVE_TARGET)
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ all: build test check
9
9
build :
10
10
@cargo build --release
11
11
12
+ .PHONY : build-deps
13
+ build-deps :
14
+ @exec ../scripts/install-rust-std-hermit.sh
15
+
12
16
.PHONY : test
13
17
test :
14
18
@# This executable compiles to RISC-V. It should be run in the RISC-V sandbox.
Original file line number Diff line number Diff line change 1
1
[toolchain ]
2
- channel = " 1.78.0 "
2
+ channel = " 1.77.2 "
3
3
components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments