2025-06-02 07:20:42 -07:00
|
|
|
#![feature(rust_cold_cc)]
|
2022-02-18 23:32:37 +00:00
|
|
|
|
2025-03-20 23:01:32 +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();
|
|
|
|
|
|
2025-03-20 23:01:32 +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();
|
|
|
|
|
|
2025-03-20 23:01:32 +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();
|
|
|
|
|
|
2025-03-20 23:01:32 +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();
|
|
|
|
|
|
2025-03-20 23:01:32 +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();
|
|
|
|
|
|
2025-06-02 07:20:42 -07:00
|
|
|
//@ is "$.index[?(@.name=='AbiRustCold')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"rust-cold\""'
|
|
|
|
|
pub type AbiRustCold = extern "rust-cold" fn();
|