Skip to content

Commit 87aa0ff

Browse files
committed
Use verbose options for rust install and build
Change-type: patch
1 parent 93eab20 commit 87aa0ff

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY src ./src
2020

2121
RUN . "$HOME/.cargo/env" && \
2222
# See https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
23-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release
23+
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release --verbose
2424

2525
COPY run-tests.sh /
2626
CMD ["/run-tests.sh"]

install-rust.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ cat rustup-init.sha256
4646
# Verify checksum
4747
sha256sum --check rustup-init.sha256
4848

49+
export CARGO_BUILD_JOBS=1
50+
4951
# Run rustup-init
50-
exec "./$target/rustup-init" -y --default-toolchain "stable-$rust_triple"
52+
exec "./$target/rustup-init" -v -y --default-toolchain "stable-$rust_triple"

0 commit comments

Comments
 (0)