2022-02-18 23:32:37 +00:00
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
|
|
|
#![feature(abi_vectorcall)]
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\"
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiRust = fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiC')].inner.type_alias.type.function_pointer.header.abi" '{"C": {"unwind": false}}'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiC = extern "C" fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiSystem')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": false}}'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiSystem = extern "system" fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiCUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"C": {"unwind": true}}'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiCUnwind = extern "C-unwind" fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiSystemUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": true}}'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiSystemUnwind = extern "system-unwind" fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiVecorcall')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall\""'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiVecorcall = extern "vectorcall" fn();
|
|
|
|
|
2024-07-19 14:50:47 +00:00
|
|
|
//@ is "$.index[*][?(@.name=='AbiVecorcallUnwind')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall-unwind\""'
|
2022-02-18 23:32:37 +00:00
|
|
|
pub type AbiVecorcallUnwind = extern "vectorcall-unwind" fn();
|