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