We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b564b70 commit eb45146Copy full SHA for eb45146
tests/run-make/used/rmake.rs
@@ -10,5 +10,4 @@ use run_make_support::symbols::any_symbol_contains;
10
fn main() {
11
rustc().opt_level("3").emit("obj").input("used.rs").run();
12
assert!(any_symbol_contains("used.o", &["FOO"]));
13
- assert!(!any_symbol_contains("used.o", &["BAR"]));
14
}
tests/run-make/used/used.rs
@@ -2,5 +2,3 @@
2
3
#[used]
4
static FOO: u32 = 0;
5
-
6
-static BAR: u32 = 0;
0 commit comments