Skip to content

Commit 5c6f27b

Browse files
committed
extract rustc-std-workspace crate sources from crates.io and place them here
1 parent e3a918e commit 5c6f27b

File tree

7 files changed

+34
-0
lines changed

7 files changed

+34
-0
lines changed

src/rustc-std-workspace/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
See `library/rustc-std-workspace-core/README.md` for context.
2+
3+
These are the crates.io versions of these crates, as opposed to the versions
4+
in `library` which are the ones used inside the rustc workspace.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "rustc-std-workspace-alloc"
3+
version = "1.0.0"
4+
authors = ["Alex Crichton <[email protected]>"]
5+
edition = "2018"
6+
license = 'MIT/Apache-2.0'
7+
description = 'workspace hack'
8+
9+
[dependencies]

src/rustc-std-workspace/rustc-std-workspace-alloc/src/lib.rs

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "rustc-std-workspace-core"
3+
version = "1.0.0"
4+
authors = ["Alex Crichton <[email protected]>"]
5+
license = "MIT/Apache-2.0"
6+
description = """
7+
Explicitly empty crate for rust-lang/rust integration
8+
"""
9+
10+
[dependencies]

src/rustc-std-workspace/rustc-std-workspace-core/src/lib.rs

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "rustc-std-workspace-std"
3+
version = "1.0.1"
4+
authors = ["Alex Crichton <[email protected]>"]
5+
license = "MIT/Apache-2.0"
6+
description = "Workaround for rustbuild"
7+
8+
[lib]
9+
name = "std"
10+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub use std::*;

0 commit comments

Comments
 (0)