Skip to content

Commit

Permalink
review nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed May 29, 2024
1 parent 77413d4 commit f225db1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/run-make/issue-125484-used-dependencies/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
// make compiletest annotations reproduce the ICE with the minimizations from issues #125474 and
// #125484.

extern crate run_make_support;

use run_make_support::{rustc, tmp_dir};

fn main() {
// The dependency is not itself significant, apart from sharing a name with one of main's
// modules.
rustc().crate_name("same").crate_type("lib").input("dependency.rs").run();
rustc().crate_name("same").crate_type("rlib").input("dependency.rs").run();

// Here, an ICE would happen when building the linker command.
rustc().input("main.rs").extern_("same", tmp_dir().join("libsame.rlib")).run();
Expand Down

0 comments on commit f225db1

Please sign in to comment.