Skip to content

Commit

Permalink
Ignore LLVM ABI in dlltool tests since those targets don't use dlltool
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Apr 18, 2024
1 parent 0e15f5e commit b51f11d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"ignore-ios",
"ignore-linux",
"ignore-lldb",
"ignore-llvm",
"ignore-llvm-version",
"ignore-loongarch64",
"ignore-macabi",
Expand Down
1 change: 1 addition & 0 deletions tests/ui/rfcs/rfc-2627-raw-dylib/dlltool-failed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

//@ only-gnu
//@ only-windows
//@ ignore-llvm
//@ needs-dlltool
//@ compile-flags: --crate-type lib --emit link
//@ normalize-stderr-test: "[^ ']*/dlltool.exe" -> "$$DLLTOOL"
Expand Down
1 change: 1 addition & 0 deletions tests/ui/rfcs/rfc-2627-raw-dylib/invalid-dlltool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

//@ only-gnu
//@ only-windows
//@ ignore-llvm
//@ compile-flags: --crate-type lib --emit link -Cdlltool=does_not_exit.exe
#[link(name = "foo", kind = "raw-dylib")]
extern "C" {
Expand Down

0 comments on commit b51f11d

Please sign in to comment.