about summary refs log tree commit diff
path: root/library/rustc-std-workspace-std
diff options
context:
space:
mode:
authormark <markm@cs.wisc.edu>2020-06-11 21:31:49 -0500
committermark <markm@cs.wisc.edu>2020-07-27 19:51:13 -0500
commit2c31b45ae878b821975c4ebd94cc1e49f6073fd0 (patch)
tree14f64e683e3f64dcbcfb8c2c7cb45ac7592e6e09 /library/rustc-std-workspace-std
parent9be8ffcb0206fc1558069a7b4766090df7877659 (diff)
downloadrust-2c31b45ae878b821975c4ebd94cc1e49f6073fd0.tar.gz
rust-2c31b45ae878b821975c4ebd94cc1e49f6073fd0.zip
mv std libs to library/
Diffstat (limited to 'library/rustc-std-workspace-std')
-rw-r--r--library/rustc-std-workspace-std/Cargo.toml15
-rw-r--r--library/rustc-std-workspace-std/README.md3
-rw-r--r--library/rustc-std-workspace-std/lib.rs2
3 files changed, 20 insertions, 0 deletions
diff --git a/library/rustc-std-workspace-std/Cargo.toml b/library/rustc-std-workspace-std/Cargo.toml
new file mode 100644
index 00000000000..ed6765556cc
--- /dev/null
+++ b/library/rustc-std-workspace-std/Cargo.toml
@@ -0,0 +1,15 @@
+[package]
+name = "rustc-std-workspace-std"
+version = "1.99.0"
+authors = ["Alex Crichton <alex@alexcrichton.com>"]
+license = 'MIT OR Apache-2.0'
+description = """
+Hack for the compiler's own build system
+"""
+edition = "2018"
+
+[lib]
+path = "lib.rs"
+
+[dependencies]
+std = { path = "../std" }
diff --git a/library/rustc-std-workspace-std/README.md b/library/rustc-std-workspace-std/README.md
new file mode 100644
index 00000000000..2228907f304
--- /dev/null
+++ b/library/rustc-std-workspace-std/README.md
@@ -0,0 +1,3 @@
+# The `rustc-std-workspace-std` crate
+
+See documentation for the `rustc-std-workspace-core` crate.
diff --git a/library/rustc-std-workspace-std/lib.rs b/library/rustc-std-workspace-std/lib.rs
new file mode 100644
index 00000000000..1e955c61ac8
--- /dev/null
+++ b/library/rustc-std-workspace-std/lib.rs
@@ -0,0 +1,2 @@
+#![feature(restricted_std)]
+pub use std::*;