@@ -34,6 +34,11 @@ fn main() {
34
34
dir: "compiler/rustc_abi" . to_owned( ) ,
35
35
in_tree_feature_name: "nightly" . to_owned( ) ,
36
36
} ,
37
+ RustcApCrate {
38
+ name: "rustc_hashes" . to_owned( ) ,
39
+ dir: "compiler/rustc_hashes" . to_owned( ) ,
40
+ in_tree_feature_name: "" . to_owned( ) ,
41
+ } ,
37
42
RustcApCrate {
38
43
name: "rustc_lexer" . to_owned( ) ,
39
44
dir: "compiler/rustc_lexer" . to_owned( ) ,
@@ -54,6 +59,11 @@ fn main() {
54
59
dir: "compiler/rustc_index" . to_owned( ) ,
55
60
in_tree_feature_name: "nightly" . to_owned( ) ,
56
61
} ,
62
+ RustcApCrate {
63
+ name: "rustc_index_macros" . to_owned( ) ,
64
+ dir: "compiler/rustc_index_macros" . to_owned( ) ,
65
+ in_tree_feature_name: "" . to_owned( ) ,
66
+ } ,
57
67
] ;
58
68
59
69
eprintln ! ( "learning about the dependency graph" ) ;
@@ -167,6 +177,9 @@ fn get_rustc_packages(target_crates: &[RustcApCrate], dst: &Path) -> Vec<RustcPa
167
177
let toml = std:: fs:: read_to_string ( & path) . unwrap ( ) ;
168
178
let mut toml = toml. parse :: < toml_edit:: Document > ( ) . unwrap ( ) ;
169
179
180
+ // remove "lints.workspace = true" because we don't have a workspace
181
+ toml. remove ( "lints" ) ;
182
+
170
183
( || {
171
184
let item = toml
172
185
. get_mut ( "features" ) ?
0 commit comments