Registry / build-tool / rustc-workspace-hack

rustc-workspace-hack

JSON →
library1.0.0rscratesunverified

Hack for the compiler's own build system to ensure consistent dependency versions.

# Cargo.toml [dependencies] rustc-workspace-hack = "1.0.0"
INSTALL
IMPORT
SIG · RUSTC-WORKSPACE-HA
R
rustc-workspace-hack
build-toolrustv1.0.0
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.

dummy
use rustc_workspace_hack::dummy;

Call the dummy function to ensure workspace hack is included in the build.

use rustc_workspace_hack::dummy; fn main() { dummy(); println!("Workspace hack applied"); }
Debug
Known issues
gotchaThis crate is an internal build tool for the Rust compiler; not intended for general use
fix
Do not depend on this crate directly unless you are working on rustc itself
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
rustc-workspace-hack — cargo add rustc-workspace-hack · libregistry