Skip to content

Commit ac43dba

Browse files
committed
fix some broken "only-x86" compile directives
1 parent 6efba49 commit ac43dba

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

tests/run-make/raw-dylib-import-name-type/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// with expected output.
88
// See https://github.com/rust-lang/rust/pull/100732
99

10-
//@ only-x86
10+
//@ only-x86_64
1111
//@ only-windows
1212

1313
use run_make_support::{cc, diff, is_msvc, run, rustc};

tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// such as stdcall.
77
// See https://github.com/rust-lang/rust/pull/90782
88

9-
//@ only-x86
9+
//@ only-x86_64
1010
//@ only-windows
1111

1212
use run_make_support::{cc, diff, is_msvc, run, rustc};
@@ -32,5 +32,9 @@ fn main() {
3232
.run();
3333
};
3434
let out = run("driver").stdout_utf8();
35-
diff().expected_file("output.txt").actual_text("actual", out).normalize(r#"\r"#, "").run();
35+
diff()
36+
.expected_file("expected_output.txt")
37+
.actual_text("actual", out)
38+
.normalize(r#"\r"#, "")
39+
.run();
3640
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ only-windows
2-
//@ only-x86
2+
//@ only-x86_64
33
#[link(name = "foo", kind = "raw-dylib", import_name_type = "unknown")]
44
//~^ ERROR unknown import name type `unknown`, expected one of: decorated, noprefix, undecorated
5-
extern "C" { }
5+
extern "C" {}
66

77
fn main() {}

0 commit comments

Comments
 (0)