rust/omit-bootstrap-lib-deadcode-warning.patch
2022-05-26 13:58:01 +08:00

11 lines
262 B
Diff

--- a/src/bootstrap/lib.rs
+++ a/src/bootstrap/lib.rs
@@ -273,6 +273,7 @@
RefCell<HashMap<TargetSelection, HashMap<String, (&'static str, PathBuf, Vec<String>)>>>,
}
+#[allow(dead_code)]
#[derive(Debug)]
struct Crate {
name: Interned<String>,