about summary refs log tree commit diff
path: root/tests/rustdoc-json/fn_pointer
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-06-02 07:20:42 -0700
committerJubilee Young <workingjubilee@gmail.com>2025-06-09 16:11:06 -0700
commit518eb0d5dd9ba822795fc5bc8e434e7139b0acbd (patch)
tree4bc1ecc9cbab867e441b99aad3e39aad6eea58e9 /tests/rustdoc-json/fn_pointer
parent643a9d233b4f1547220134daea4bcca809302d40 (diff)
downloadrust-518eb0d5dd9ba822795fc5bc8e434e7139b0acbd.tar.gz
rust-518eb0d5dd9ba822795fc5bc8e434e7139b0acbd.zip
rustdoc-json: Rearrange deck chairs in ABI testing
We move the vectorcall ABI tests into their own file which is now
only run on x86-64, while replacing them with rust-cold ABI tests
so that aarch64 hosts continue to test an unstable ABI.

A better solution might be cross-compiling or something but
I really don't have time for that right now.
Diffstat (limited to 'tests/rustdoc-json/fn_pointer')
-rw-r--r--tests/rustdoc-json/fn_pointer/abi.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/rustdoc-json/fn_pointer/abi.rs b/tests/rustdoc-json/fn_pointer/abi.rs
index 34150c0fe89..ec76e0f6636 100644
--- a/tests/rustdoc-json/fn_pointer/abi.rs
+++ b/tests/rustdoc-json/fn_pointer/abi.rs
@@ -1,4 +1,4 @@
-#![feature(abi_vectorcall)]
+#![feature(rust_cold_cc)]
 
 //@ is "$.index[?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\"
 pub type AbiRust = fn();
@@ -15,8 +15,5 @@ pub type AbiCUnwind = extern "C-unwind" fn();
 //@ is "$.index[?(@.name=='AbiSystemUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": true}}'
 pub type AbiSystemUnwind = extern "system-unwind" fn();
 
-//@ is "$.index[?(@.name=='AbiVecorcall')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall\""'
-pub type AbiVecorcall = extern "vectorcall" fn();
-
-//@ is "$.index[?(@.name=='AbiVecorcallUnwind')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall-unwind\""'
-pub type AbiVecorcallUnwind = extern "vectorcall-unwind" fn();
+//@ is "$.index[?(@.name=='AbiRustCold')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"rust-cold\""'
+pub type AbiRustCold = extern "rust-cold" fn();