diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-06-13 12:39:13 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-06-23 09:40:00 -0700 |
| commit | a3a6d9bf71ace4b5011e4af318f5fb5dc23d19b4 (patch) | |
| tree | 2f396a93723ecefb55d89d0d8dc8c3021f98c75a | |
| parent | 7e35b284e12c7174a77ed24952cfd1f13eb1bb6d (diff) | |
| download | rust-a3a6d9bf71ace4b5011e4af318f5fb5dc23d19b4.tar.gz rust-a3a6d9bf71ace4b5011e4af318f5fb5dc23d19b4.zip | |
tests: Update raw-dylib unsupported ABI test
| -rw-r--r-- | tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs | 2 | ||||
| -rw-r--r-- | tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs b/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs index 9babc20d1a1..9ccc9ce4fdb 100644 --- a/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs +++ b/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.rs @@ -11,7 +11,7 @@ extern crate minicore; #[link(name = "foo", kind = "raw-dylib")] extern "stdcall" { -//~^ WARN: calling convention not supported on this target +//~^ WARN: unsupported_calling_conventions //~| WARN: previously accepted fn f(x: i32); //~^ ERROR ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture diff --git a/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr b/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr index 95ea9080486..91e42f2909e 100644 --- a/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr +++ b/tests/ui/linkage-attr/raw-dylib/windows/unsupported-abi.stderr @@ -1,4 +1,4 @@ -warning: use of calling convention not supported on this target +warning: "stdcall" is not a supported ABI for the current target --> $DIR/unsupported-abi.rs:13:1 | LL | / extern "stdcall" { |
