mv std libs to library/
This commit is contained in:
parent
9be8ffcb02
commit
2c31b45ae8
875 changed files with 1255 additions and 1223 deletions
15
library/rustc-std-workspace-alloc/Cargo.toml
Normal file
15
library/rustc-std-workspace-alloc/Cargo.toml
Normal file
|
@ -0,0 +1,15 @@
|
|||
[package]
|
||||
name = "rustc-std-workspace-alloc"
|
||||
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]
|
||||
alloc = { path = "../alloc" }
|
9
library/rustc-std-workspace-alloc/lib.rs
Normal file
9
library/rustc-std-workspace-alloc/lib.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
#![feature(no_core)]
|
||||
#![no_core]
|
||||
|
||||
// See rustc-std-workspace-core for why this crate is needed.
|
||||
|
||||
// Rename the crate to avoid conflicting with the alloc module in liballoc.
|
||||
extern crate alloc as foo;
|
||||
|
||||
pub use foo::*;
|
Loading…
Add table
Add a link
Reference in a new issue