about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-29 07:23:00 +0000
committerbors <bors@rust-lang.org>2018-09-29 07:23:00 +0000
commitd95fd2585d8d7327a83beee10d9e32129b26cd68 (patch)
treea2ca39a5f9001a5a4d964fcb8e2b8d9816c3fa33 /src/test/codegen
parent6622172734a6c456ea85e17b765ad1dbc0e42907 (diff)
parent2819deffe3988b438bb7fab7463299fa6c917502 (diff)
downloadrust-d95fd2585d8d7327a83beee10d9e32129b26cd68.tar.gz
rust-d95fd2585d8d7327a83beee10d9e32129b26cd68.zip
Auto merge of #54576 - froydnj:non-x86-abi-adjustment, r=alexcrichton
ignore {std,fast,vector,this}call on non-x86 windows

MSVC ignores these keywords for C/C++ and uses the standard system
calling convention.  Rust should do so as well.

Fixes #54569.
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/issue-32364.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/codegen/issue-32364.rs b/src/test/codegen/issue-32364.rs
index 401253a315f..8feb10b5757 100644
--- a/src/test/codegen/issue-32364.rs
+++ b/src/test/codegen/issue-32364.rs
@@ -8,8 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-arm
-// ignore-aarch64
+// Test that `extern "stdcall"` is properly translated.
+
+// only-x86
 
 // compile-flags: -C no-prepopulate-passes