-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make libstd depend on the hashbrown crate
- Loading branch information
Showing
5 changed files
with
44 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,14 @@ | ||
[package] | ||
name = "rustc-std-workspace-alloc" | ||
version = "1.0.0" | ||
authors = ["Alex Crichton <alex@alexcrichton.com>"] | ||
license = 'MIT/Apache-2.0' | ||
description = """ | ||
Hack for the compiler's own build system | ||
""" | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
||
[dependencies] | ||
alloc = { path = "../../liballoc" } |
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,9 @@ | ||
#![feature(no_core, alloc)] | ||
#![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::*; |