File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 33
33
* Fix ` catch ` not being thread-safe.
34
34
[ #3879 ] ( https://github.com/rustwasm/wasm-bindgen/pull/3879 )
35
35
36
+ * Fix MSRV compilation.
37
+ [ #3927 ] ( https://github.com/rustwasm/wasm-bindgen/pull/3927 )
38
+
36
39
--------------------------------------------------------------------------------
37
40
38
41
## [ 0.2.92] ( https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92 )
Original file line number Diff line number Diff line change @@ -1716,9 +1716,9 @@ fn splat(
1716
1716
let mut args = Vec :: new ( ) ;
1717
1717
let mut names = Vec :: new ( ) ;
1718
1718
1719
- for n in 1 ..=4 {
1720
- let arg_name = format_ident ! ( "{name }_{n}" ) ;
1721
- let prim_name = format_ident ! ( "Prim{n}" ) ;
1719
+ for n in 1_u32 ..=4 {
1720
+ let arg_name = format_ident ! ( "{}_{}" , name , n ) ;
1721
+ let prim_name = format_ident ! ( "Prim{}" , n ) ;
1722
1722
args. push ( quote ! {
1723
1723
#arg_name: <#abi as #wasm_bindgen:: convert:: WasmAbi >:: #prim_name
1724
1724
} ) ;
Original file line number Diff line number Diff line change @@ -1820,7 +1820,7 @@ pub mod __rt {
1820
1820
}
1821
1821
}
1822
1822
1823
- pub const fn flat_len < const SIZE : usize , T > ( slices : [ & [ T ] ; SIZE ] ) -> usize {
1823
+ pub const fn flat_len < T , const SIZE : usize > ( slices : [ & [ T ] ; SIZE ] ) -> usize {
1824
1824
let mut len = 0 ;
1825
1825
let mut i = 0 ;
1826
1826
while i < slices. len ( ) {
You can’t perform that action at this time.
0 commit comments