diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-09 20:29:33 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-10 13:55:04 +0800 |
| commit | 3f4f23af617171e2e03e867a61b952d56166143b (patch) | |
| tree | 708143f5cbcde3c528a25d4a85740bce52902326 /tests/run-make/raw-dylib-stdcall-ordinal | |
| parent | 87a41210d4ec4f43a1e015dfea44ef3f686c9872 (diff) | |
| download | rust-3f4f23af617171e2e03e867a61b952d56166143b.tar.gz rust-3f4f23af617171e2e03e867a61b952d56166143b.zip | |
Use `is_windows_msvc` instead of `is_msvc` in run-make tests
Diffstat (limited to 'tests/run-make/raw-dylib-stdcall-ordinal')
| -rw-r--r-- | tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs b/tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs index 320ea1520d8..f898cc0f8c8 100644 --- a/tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs +++ b/tests/run-make/raw-dylib-stdcall-ordinal/rmake.rs @@ -10,7 +10,7 @@ //@ only-windows // Reason: this test specifically exercises a 32bit Windows calling convention. -use run_make_support::{cc, diff, is_msvc, run, rustc}; +use run_make_support::{cc, diff, is_windows_msvc, run, rustc}; // NOTE: build_native_dynamic lib is not used, as the special `def` files // must be passed to the CC compiler. @@ -18,7 +18,7 @@ use run_make_support::{cc, diff, is_msvc, run, rustc}; fn main() { rustc().crate_type("lib").crate_name("raw_dylib_test").input("lib.rs").run(); rustc().crate_type("bin").input("driver.rs").run(); - if is_msvc() { + if is_windows_msvc() { cc().arg("-c").out_exe("exporter").input("exporter.c").run(); cc().input("exporter.obj") .arg("exporter-msvc.def") |
