Skip to content

Commit 9193fc5

Browse files
committed
CI break: fix syn version (#1787)
This is a temporary fix for the CI (and anyone building for wasm) break until `wgpu` can update * `syn` released a version that fixed a bug in how they parsed attributes * `wasm_bindgen` released a version that uses that fix * but we're stuck with old `wasm_bindgen` as `wgpu` uses a fixed version: https://github.com/gfx-rs/wgpu-rs/blob/c5ee9cd98310aee66fb49bc98f4f65590304e4aa/Cargo.toml#L118 So, to fix this, either we update everyone to latest version of `wasm_bindgen` or we keep using old version of `syn`. On Bevy side, it should be faster to fix the version of `syn` to one that works. More details: rustwasm/wasm-bindgen#2510 & rustwasm/wasm-bindgen#2508
1 parent 94c4184 commit 9193fc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ subpixel_glyph_atlas = ["bevy_internal/subpixel_glyph_atlas"]
7979
bevy_dylib = {path = "crates/bevy_dylib", version = "0.4.0", default-features = false, optional = true}
8080
bevy_internal = {path = "crates/bevy_internal", version = "0.4.0", default-features = false}
8181

82+
[target.'cfg(target_arch = "wasm32")'.dependencies]
83+
syn = "=1.0.65"
84+
8285
[dev-dependencies]
8386
anyhow = "1.0"
8487
rand = "0.8.0"

0 commit comments

Comments
 (0)