extract rustc-std-workspace crate sources from crates.io and place them here

This commit is contained in:
Ralf Jung 2024-11-03 22:30:02 +01:00
parent e3a918ece0
commit 5c6f27b1e0
7 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,4 @@
See `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.

View File

@ -0,0 +1,9 @@
[package]
name = "rustc-std-workspace-alloc"
version = "1.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
license = 'MIT/Apache-2.0'
description = 'workspace hack'
[dependencies]

View File

@ -0,0 +1,10 @@
[package]
name = "rustc-std-workspace-core"
version = "1.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
description = """
Explicitly empty crate for rust-lang/rust integration
"""
[dependencies]

View File

@ -0,0 +1,10 @@
[package]
name = "rustc-std-workspace-std"
version = "1.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
description = "Workaround for rustbuild"
[lib]
name = "std"

View File

@ -0,0 +1 @@
pub use std::*;