Skip to content

Commit

Permalink
chore: Update rust-build-sysroot
Browse files Browse the repository at this point in the history
The previous version (0.5.2), in combination with the latest Rust
nightly, fails to build the sysroot with the following error:

```
---- compile_test stdout ----
thread 'compile_test' panicked at tests/tests.rs:130:10:
failed to build sysroot: failed to copy lockfile from sysroot source
```

This error is related to rust-lang/rust#128534, which moved the standard
library to a separate workspace, therefore moving `Cargo.lock` as well.
RalfJung/rustc-build-sysroot#22 honors the new location. That change
was released in 0.5.3.
  • Loading branch information
vadorovsky committed Aug 12, 2024
1 parent 05f578e commit 012ac1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tracing = "0.1"
[dev-dependencies]
compiletest_rs = { version = "0.10.1" }
regex = { version = "1.10.5", default-features = false }
rustc-build-sysroot = { version = "0.5.2", default-features = false }
rustc-build-sysroot = { version = "0.5.3", default-features = false }
which = { version = "6.0.1", default-features = false, features = ["regex"] }

[[bin]]
Expand Down

0 comments on commit 012ac1a

Please sign in to comment.