File tree Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Expand file tree Collapse file tree 3 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 1
- #![ feature( abi_vectorcall) ]
2
-
3
1
//@ is "$.index[?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\"
4
2
pub type AbiRust = fn ( ) ;
5
3
@@ -14,9 +12,3 @@ pub type AbiCUnwind = extern "C-unwind" fn();
14
12
15
13
//@ is "$.index[?(@.name=='AbiSystemUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": true}}'
16
14
pub type AbiSystemUnwind = extern "system-unwind" fn ( ) ;
17
-
18
- //@ is "$.index[?(@.name=='AbiVecorcall')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall\""'
19
- pub type AbiVecorcall = extern "vectorcall" fn ( ) ;
20
-
21
- //@ is "$.index[?(@.name=='AbiVecorcallUnwind')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"vectorcall-unwind\""'
22
- pub type AbiVecorcallUnwind = extern "vectorcall-unwind" fn ( ) ;
Original file line number Diff line number Diff line change 1
- #![ feature( abi_vectorcall) ]
2
-
3
1
//@ is "$.index[?(@.name=='abi_rust')].inner.function.header.abi" \"Rust\"
4
2
pub fn abi_rust ( ) { }
5
3
@@ -14,9 +12,3 @@ pub extern "C-unwind" fn abi_c_unwind() {}
14
12
15
13
//@ is "$.index[?(@.name=='abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
16
14
pub extern "system-unwind" fn abi_system_unwind ( ) { }
17
-
18
- //@ is "$.index[?(@.name=='abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
19
- pub extern "vectorcall" fn abi_vectorcall ( ) { }
20
-
21
- //@ is "$.index[?(@.name=='abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
22
- pub extern "vectorcall-unwind" fn abi_vectorcall_unwind ( ) { }
Original file line number Diff line number Diff line change 1
- #![ feature( abi_vectorcall) ]
2
-
3
1
//@ has "$.index[?(@.name=='Foo')]"
4
2
pub struct Foo ;
5
3
@@ -18,12 +16,6 @@ impl Foo {
18
16
19
17
//@ is "$.index[?(@.name=='abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
20
18
pub extern "system-unwind" fn abi_system_unwind ( ) { }
21
-
22
- //@ is "$.index[?(@.name=='abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
23
- pub extern "vectorcall" fn abi_vectorcall ( ) { }
24
-
25
- //@ is "$.index[?(@.name=='abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
26
- pub extern "vectorcall-unwind" fn abi_vectorcall_unwind ( ) { }
27
19
}
28
20
29
21
pub trait Bar {
@@ -41,10 +33,4 @@ pub trait Bar {
41
33
42
34
//@ is "$.index[?(@.name=='trait_abi_system_unwind')].inner.function.header.abi" '{"System": {"unwind": true}}'
43
35
extern "system-unwind" fn trait_abi_system_unwind ( ) { }
44
-
45
- //@ is "$.index[?(@.name=='trait_abi_vectorcall')].inner.function.header.abi.Other" '"\"vectorcall\""'
46
- extern "vectorcall" fn trait_abi_vectorcall ( ) { }
47
-
48
- //@ is "$.index[?(@.name=='trait_abi_vectorcall_unwind')].inner.function.header.abi.Other" '"\"vectorcall-unwind\""'
49
- extern "vectorcall-unwind" fn trait_abi_vectorcall_unwind ( ) { }
50
36
}
You can’t perform that action at this time.
0 commit comments