rust/omit-bootstrap-lib-deadcode-warning.patch
2022-02-09 07:57:23 +00: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>,