diff options
| author | Daniel Le <greenrecyclebin@gmail.com> | 2020-12-20 15:21:17 +0800 |
|---|---|---|
| committer | Daniel Le <greenrecyclebin@gmail.com> | 2020-12-20 15:23:21 +0800 |
| commit | e614a720b6d9b2b7feacc8fa29068e30623f8f83 (patch) | |
| tree | 5163a393cc7236ce8f28a0820841b5ada7613c9d /library/rustc-std-workspace-core | |
| parent | 29e32120c33d30ff526fc7f4d94ec9fce0dc10c9 (diff) | |
| download | rust-e614a720b6d9b2b7feacc8fa29068e30623f8f83.tar.gz rust-e614a720b6d9b2b7feacc8fa29068e30623f8f83.zip | |
Fix rustc-std-workspace-core documentation
Diffstat (limited to 'library/rustc-std-workspace-core')
| -rw-r--r-- | library/rustc-std-workspace-core/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/rustc-std-workspace-core/README.md b/library/rustc-std-workspace-core/README.md index 9c2b1fa91d3..40e0b62afab 100644 --- a/library/rustc-std-workspace-core/README.md +++ b/library/rustc-std-workspace-core/README.md @@ -4,12 +4,12 @@ This crate is a shim and empty crate which simply depends on `libcore` and reexports all of its contents. The crate is the crux of empowering the standard library to depend on crates from crates.io -Crates on crates.io that the standard library depend on the -`rustc-std-workspace-core` crate from crates.io. On crates.io, however, this -crate is empty. We use `[patch]` to override it to this crate in this -repository. As a result, crates on crates.io will draw a dependency edge to -`libcore`, the version defined in this repository. That should draw all the -dependency edges to ensure Cargo builds crates successfully! +Crates on crates.io that the standard library depend on need to depend on the +`rustc-std-workspace-core` crate from crates.io, which is empty. We use +`[patch]` to override it to this crate in this repository. As a result, crates +on crates.io will draw a dependency edge to `libcore`, the version defined in +this repository. That should draw all the dependency edges to ensure Cargo +builds crates successfully! Note that crates on crates.io need to depend on this crate with the name `core` for everything to work correctly. To do that they can use: |
