rust/omit-bootstrap-lib-deadcode-warning.patch

11 lines
262 B
Diff
Raw Normal View History

2022-02-09 14:36:00 +08:00
--- 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>,