Skip to content

Commit ff1a5ab

Browse files
committed
Rename cfg_match! to cfg_select!
At [1] it was pointed out that `cfg_match!` syntax does not actually align well with match syntax, which is a possible source of confusion. The comment points out that usage is instead more similar to ecosystem `select!` macros. Rename `cfg_match!` to `cfg_select!` to match this. Tracking issue: rust-lang/rust#115585 [1]: rust-lang/rust#115585 (comment)
1 parent e6d288b commit ff1a5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/0027-sysroot_tests-128bit-atomic-operations.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ index 1e336bf..35e6f54 100644
1717
@@ -2,5 +2,4 @@
1818
// tidy-alphabetical-start
1919
-#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
20-
#![cfg_attr(test, feature(cfg_match))]
20+
#![cfg_attr(test, feature(cfg_select))]
2121
#![feature(alloc_layout_extra)]
2222
#![feature(array_chunks)]
2323
diff --git a/coretests/tests/atomic.rs b/coretests/tests/atomic.rs

0 commit comments

Comments
 (0)