Registry / other / rustc-std-workspace-alloc

rustc-std-workspace-alloc

JSON →
library1.0.1rscratesunverified

Crate for integration of crates.io crates into the rust-lang/rust standard library workspace.

# Cargo.toml [dependencies] rustc-std-workspace-alloc = "1.0.1"
INSTALL
IMPORT
SIG · RUSTC-STD-WORKSPAC
R
rustc-std-workspace-alloc
otherrustv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

alloc
use rustc_std_workspace_alloc::alloc;

Re-exports the alloc crate for use within the Rust compiler workspace.

use rustc_std_workspace_alloc::alloc; fn main() { let v = alloc::vec![1, 2, 3]; println!("{:?}", v); }
Debug
Known issues
gotchaThis crate is intended only for use within the Rust compiler's workspace; external use is not supported.
fix
Do not depend on this crate directly; use the standard alloc crate instead.
affects: >=1.0.0
Upgrade
Version history
1.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
rustc-std-workspace-alloc — cargo add rustc-std-workspace-alloc · libregistry