Skip to content

Commit 13952b9

Browse files
authored
Fix output for 16-bit targets (#1470)
`tokens32` being used for both 16 and 32 bits appears to be an artifact from copying the prior block and modifying it (as reasonable for such development), but itself unsound. --- I used the web UI for this, just to fire this off quickly as an exceptionally minor change, but that does mean it's completely untested.
1 parent 53f7fc3 commit 13952b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpubits/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ macro_rules! cpubits {
259259
// WASM
260260
target_arch = "wasm32",
261261
))]
262-
16 => { $( $tokens32 )* }
262+
16 => { $( $tokens16 )* }
263263
32 => { $( $tokens32 )* }
264264
64 => { $( $tokens64 )* }
265265
}

0 commit comments

Comments
 (0)