Skip to content

Commit 27e5257

Browse files
authored
cpubits: have enable_64_bits capture group name match attribute (#1428)
1 parent c6e4a79 commit 27e5257

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpubits/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ macro_rules! cpubits {
197197
// Same API as immediately above, but with a pseudo-attribute we use to pass the `cfg` overrides
198198
// for `target_pointer_width` that promote a 32-bit target into a 64-bit one.
199199
(
200-
#[cfg(enable_64_bit = $($enable_64bit:tt)+ )]
200+
#[cfg(enable_64_bit = $($enable_64_bit:tt)+ )]
201201
16 => { $( $tokens16:tt )* }
202202
32 => { $( $tokens32:tt )* }
203203
64 => { $( $tokens64:tt )* }
@@ -211,14 +211,14 @@ macro_rules! cpubits {
211211
(
212212
(all(
213213
target_pointer_width = "32",
214-
not($( $enable_64bit )+)
214+
not($( $enable_64_bit )+)
215215
))
216216
( $( $tokens32 )* )
217217
),
218218
(
219219
(any(
220220
target_pointer_width = "64",
221-
$( $enable_64bit )+
221+
$( $enable_64_bit )+
222222
))
223223
( $( $tokens64 )* )
224224
),

0 commit comments

Comments
 (0)