forked from rust-lang/rust
-
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.
Rollup merge of rust-lang#132579 - RalfJung:rustc-std-workspace-crate…
…s, r=Amanieu add rustc std workspace crate sources This adds the sources for the crates listed at https://crates.io/search?q=rustc-std-workspace in this repo. The first commit adds the original sources as downloaded from crates.io (with `Cargo.toml.orig` moved back over `Cargo.toml`), and adds a README explaining what this is about. The 2nd commit updates the sources to make the core and alloc crates re-exports of the "actual" core and alloc crates, as was already the case with `std`, and also adds a `repository` link to the manifest so one can figure out where to find these crates. I bumped the version for the core and alloc crates in the hope that the new versions can be published on crates.io shortly after this PR lands. See [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/rustc-std-workspace-core.20crate.20is.20empty) for a bit more context. r? `@Amanieu`
- Loading branch information
Showing
10 changed files
with
62 additions
and
0 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 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 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 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,4 @@ | ||
See [`library/rustc-std-workspace-core/README.md`](../../library/rustc-std-workspace-core/README.md) for context. | ||
|
||
These are the crates.io versions of these crates, as opposed to the versions | ||
in `library` which are the ones used inside the rustc workspace. |
11 changes: 11 additions & 0 deletions
11
src/rustc-std-workspace/rustc-std-workspace-alloc/Cargo.toml
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 @@ | ||
[package] | ||
name = "rustc-std-workspace-alloc" | ||
version = "1.0.1" | ||
authors = ["Alex Crichton <[email protected]>"] | ||
edition = "2021" | ||
license = 'MIT/Apache-2.0' | ||
description = """ | ||
crate for integration of crates.io crates into rust-lang/rust standard library workspace | ||
""" | ||
|
||
repository = "https://github.com/rust-lang/rust/tree/master/src/rustc-std-workspace" |
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,3 @@ | ||
#![no_std] | ||
extern crate alloc as the_alloc; | ||
pub use the_alloc::*; |
11 changes: 11 additions & 0 deletions
11
src/rustc-std-workspace/rustc-std-workspace-core/Cargo.toml
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 @@ | ||
[package] | ||
name = "rustc-std-workspace-core" | ||
version = "1.0.1" | ||
authors = ["Alex Crichton <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
description = """ | ||
crate for integration of crates.io crates into rust-lang/rust standard library workspace | ||
""" | ||
|
||
repository = "https://github.com/rust-lang/rust/tree/master/src/rustc-std-workspace" |
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,3 @@ | ||
#![no_std] | ||
extern crate core as the_core; | ||
pub use the_core::*; |
11 changes: 11 additions & 0 deletions
11
src/rustc-std-workspace/rustc-std-workspace-std/Cargo.toml
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 @@ | ||
[package] | ||
name = "rustc-std-workspace-std" | ||
version = "1.0.1" | ||
authors = ["Alex Crichton <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
description = """ | ||
crate for integration of crates.io crates into rust-lang/rust standard library workspace | ||
""" | ||
|
||
repository = "https://github.com/rust-lang/rust/tree/master/src/rustc-std-workspace" |
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 @@ | ||
pub use std::*; |