{"id":72805,"library":"rustc-workspace-hack","title":"Rustc Workspace Hack","description":"Hack for the compiler's own build system to ensure consistent dependency versions.","status":"active","version":"1.0.0","language":"rust","source_language":null,"source_url":null,"tags":["rustc","build-system","internal","hack"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrustc-workspace-hack = \"1.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rustc-workspace-hack","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"dummy","correct":"use rustc_workspace_hack::dummy;"}],"quickstart":{"code":"use rustc_workspace_hack::dummy;\n\nfn main() {\n    dummy();\n    println!(\"Workspace hack applied\");\n}","lang":"rust","description":"Call the dummy function to ensure workspace hack is included in the build."},"warnings":[{"fix":"Do not depend on this crate directly unless you are working on rustc itself","message":"This crate is an internal build tool for the Rust compiler; not intended for general use","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'build':10,19 'build-system':18 'compil':7 'consist':14 'depend':15 'ensur':13 'hack':3,4,22 'intern':21 'rustc':1,17 'system':11,20 'version':16 'workspac':2","created_at":"2026-06-17T18:43:18.111534+00:00","updated_at":"2026-06-17T18:43:18.111534+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":"https://docs.rs/rustc-workspace-hack/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}