diff --git a/src/main.rs b/src/main.rs index 525682b..a796cf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,6 +34,11 @@ fn main() { dir: "compiler/rustc_abi".to_owned(), in_tree_feature_name: "nightly".to_owned(), }, + RustcApCrate { + name: "rustc_hashes".to_owned(), + dir: "compiler/rustc_hashes".to_owned(), + in_tree_feature_name: "".to_owned(), + }, RustcApCrate { name: "rustc_lexer".to_owned(), dir: "compiler/rustc_lexer".to_owned(), @@ -54,6 +59,11 @@ fn main() { dir: "compiler/rustc_index".to_owned(), in_tree_feature_name: "nightly".to_owned(), }, + RustcApCrate { + name: "rustc_index_macros".to_owned(), + dir: "compiler/rustc_index_macros".to_owned(), + in_tree_feature_name: "".to_owned(), + }, ]; eprintln!("learning about the dependency graph"); @@ -167,6 +177,9 @@ fn get_rustc_packages(target_crates: &[RustcApCrate], dst: &Path) -> Vec().unwrap(); + // remove "lints.workspace = true" because we don't have a workspace + toml.remove("lints"); + (|| { let item = toml .get_mut("features")?