File tree 1 file changed +6
-6
lines changed
library/rustc-std-workspace-core
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ This crate is a shim and empty crate which simply depends on `libcore` and
4
4
reexports all of its contents. The crate is the crux of empowering the standard
5
5
library to depend on crates from crates.io
6
6
7
- Crates on crates.io that the standard library depend on the
8
- ` rustc-std-workspace-core ` crate from crates.io. On crates.io, however, this
9
- crate is empty. We use ` [patch] ` to override it to this crate in this
10
- repository. As a result, crates on crates.io will draw a dependency edge to
11
- ` libcore ` , the version defined in this repository. That should draw all the
12
- dependency edges to ensure Cargo builds crates successfully!
7
+ Crates on crates.io that the standard library depend on need to depend on the
8
+ ` rustc-std-workspace-core ` crate from crates.io, which is empty. We use
9
+ ` [patch] ` to override it to this crate in this repository. As a result, crates
10
+ on crates.io will draw a dependency edge to ` libcore ` , the version defined in
11
+ this repository. That should draw all the dependency edges to ensure Cargo
12
+ builds crates successfully!
13
13
14
14
Note that crates on crates.io need to depend on this crate with the name ` core `
15
15
for everything to work correctly. To do that they can use:
You can’t perform that action at this time.
0 commit comments