forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build-std): remove hack on creating virtual std workspace
Starting from rust-lang/rust#128534 (nightly-2024-08-05), stnadard library has its own Cargo workspace. Hence `-Zbuild-std` no longer need to fake a virtual workspace. This also adjusts Cargo.toml in `mock-std` to align with std's Cargo.toml
- Loading branch information
1 parent
dd28870
commit 0921819
Showing
3 changed files
with
14 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[workspace] | ||
resolver = "1" | ||
members = [ | ||
"std", | ||
"sysroot", | ||
] | ||
|
||
[patch.crates-io] | ||
rustc-std-workspace-core = { path = 'rustc-std-workspace-core' } | ||
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' } | ||
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' } |