Skip to content

Commit

Permalink
Assert success of llvm_readobj
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed May 27, 2024
1 parent f705a22 commit dc0843c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/run-make/windows-ws2_32/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fn main() {
rustc().input("empty.rs").run();
let empty = tmp_dir().join("empty.exe");
let output = llvm_readobj().input(empty).coff_imports().command_output();
assert!(output.status.success());
let output = String::from_utf8(output.stdout).unwrap();
assert!(!output.to_ascii_uppercase().contains("WS2_32.DLL"));
}

0 comments on commit dc0843c

Please sign in to comment.