|
1 | 1 | #![feature(rust_cold_cc)]
|
2 | 2 |
|
3 | | -//@ is "$.index[?(@.name=='AbiRust')].inner.type_alias.type.function_pointer.header.abi" \"Rust\" |
| 3 | +//@ jq .index[] | select(.name == "AbiRust").inner.type_alias.type?.function_pointer.header?.abi == "Rust" |
4 | 4 | pub type AbiRust = fn();
|
5 | 5 |
|
6 | | -//@ is "$.index[?(@.name=='AbiC')].inner.type_alias.type.function_pointer.header.abi" '{"C": {"unwind": false}}' |
| 6 | +//@ jq .index[] | select(.name == "AbiC").inner.type_alias.type?.function_pointer.header?.abi == {"C": {"unwind": false}} |
7 | 7 | pub type AbiC = extern "C" fn();
|
8 | 8 |
|
9 | | -//@ is "$.index[?(@.name=='AbiSystem')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": false}}' |
| 9 | +//@ jq .index[] | select(.name == "AbiSystem").inner.type_alias.type?.function_pointer.header?.abi == {"System": {"unwind": false}} |
10 | 10 | pub type AbiSystem = extern "system" fn();
|
11 | 11 |
|
12 | | -//@ is "$.index[?(@.name=='AbiCUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"C": {"unwind": true}}' |
| 12 | +//@ jq .index[] | select(.name == "AbiCUnwind").inner.type_alias.type?.function_pointer.header?.abi == {"C": {"unwind": true}} |
13 | 13 | pub type AbiCUnwind = extern "C-unwind" fn();
|
14 | 14 |
|
15 | | -//@ is "$.index[?(@.name=='AbiSystemUnwind')].inner.type_alias.type.function_pointer.header.abi" '{"System": {"unwind": true}}' |
| 15 | +//@ jq .index[] | select(.name == "AbiSystemUnwind").inner.type_alias.type?.function_pointer.header?.abi == {"System": {"unwind": true}} |
16 | 16 | pub type AbiSystemUnwind = extern "system-unwind" fn();
|
17 | 17 |
|
18 | | -//@ is "$.index[?(@.name=='AbiRustCold')].inner.type_alias.type.function_pointer.header.abi.Other" '"\"rust-cold\""' |
| 18 | +//@ jq .index[] | select(.name == "AbiRustCold").inner.type_alias.type?.function_pointer.header?.abi.Other == "\"rust-cold\"" |
19 | 19 | pub type AbiRustCold = extern "rust-cold" fn();
|
0 commit comments