about summary refs log tree commit diff
path: root/tests/rustdoc-json/targets/x86_64_pc_windows_gnu.rs
blob: 7da12eb4d5809c7f8d162e6b4cb757b35fa6a0a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ only-x86_64-pc-windows-gnu

//@ is "$.target.triple" \"x86_64-pc-windows-gnu\"
//@ is "$.target.target_features[?(@.name=='sse2')].globally_enabled" true
//@ is "$.target.target_features[?(@.name=='avx2')].globally_enabled" false
//@ has "$.target.target_features[?(@.name=='avx2')].implies_features" '["avx"]'
//@ is "$.target.target_features[?(@.name=='avx2')].unstable_feature_gate" null

// If this breaks due to stabilization, check rustc_target::target_features for a replacement
//@ is "$.target.target_features[?(@.name=='amx-tile')].unstable_feature_gate" '"x86_amx_intrinsics"'
//@ is "$.target.target_features[?(@.name=='x87')].unstable_feature_gate" '"x87_target_feature"'

// Ensure we don't look like aarch64
//@ !has "$.target.target_features[?(@.name=='sve2')]"