Skip to content

Commit 21a3acb

Browse files
committed
ci: fix rust emulator build failure
``` error: "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/Cargo.lock" does not exist, unable to build with the standard library, try: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu ``` https://github.com/bitcoin-core/HWI/actions/runs/16440824447/job/46462763374?pr=795
1 parent bfa0eb3 commit 21a3acb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/setup_environment.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ if [[ -n ${build_trezor_1} || -n ${build_trezor_t} ]]; then
110110
rustup toolchain install nightly
111111
rustup default nightly
112112
rustup component add rustfmt
113+
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
113114
# Build trezor t emulator. This is pretty fast, so rebuilding every time is ok
114115
# But there should be some caching that makes this faster
115116
poetry install

0 commit comments

Comments
 (0)