Skip to content

Commit 8d74b2b

Browse files
committed
Use test directive needs-atomic in tests
1 parent c0aecdc commit 8d74b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/cfg/disallowed-cli-cfgs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
//@ revisions: sanitizer_cfi_generalize_pointers_ sanitizer_cfi_normalize_integers_
44
//@ revisions: proc_macro_ panic_ target_feature_ unix_ windows_ target_abi_
55
//@ revisions: target_arch_ target_endian_ target_env_ target_family_ target_os_
6-
//@ revisions: target_pointer_width_ target_vendor_ target_has_atomic_
6+
//@ revisions: target_pointer_width_ target_vendor_
77
//@ revisions: target_has_atomic_equal_alignment_ target_has_atomic_load_store_
88
//@ revisions: target_thread_local_ relocation_model_
99
//@ revisions: fmt_debug_
10+
//@ needs-atomic: 32
1011

1112
//@ [overflow_checks_]compile-flags: --cfg overflow_checks
1213
//@ [debug_assertions_]compile-flags: --cfg debug_assertions
@@ -27,7 +28,6 @@
2728
//@ [target_os_]compile-flags: --cfg target_os="linux"
2829
//@ [target_pointer_width_]compile-flags: --cfg target_pointer_width="32"
2930
//@ [target_vendor_]compile-flags: --cfg target_vendor
30-
//@ [target_has_atomic_]compile-flags: --cfg target_has_atomic="32"
3131
//@ [target_has_atomic_equal_alignment_]compile-flags: --cfg target_has_atomic_equal_alignment="32"
3232
//@ [target_has_atomic_load_store_]compile-flags: --cfg target_has_atomic_load_store="32"
3333
//@ [target_thread_local_]compile-flags: --cfg target_thread_local

0 commit comments

Comments
 (0)