We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77413d4 commit f225db1Copy full SHA for f225db1
tests/run-make/issue-125484-used-dependencies/rmake.rs
@@ -6,14 +6,12 @@
6
// make compiletest annotations reproduce the ICE with the minimizations from issues #125474 and
7
// #125484.
8
9
-extern crate run_make_support;
10
-
11
use run_make_support::{rustc, tmp_dir};
12
13
fn main() {
14
// The dependency is not itself significant, apart from sharing a name with one of main's
15
// modules.
16
- rustc().crate_name("same").crate_type("lib").input("dependency.rs").run();
+ rustc().crate_name("same").crate_type("rlib").input("dependency.rs").run();
17
18
// Here, an ICE would happen when building the linker command.
19
rustc().input("main.rs").extern_("same", tmp_dir().join("libsame.rlib")).run();
0 commit comments