Skip to content

Commit 280114d

Browse files
authored
Update wasm-bindgen to 0.2.105 (#3703)
https://github.com/wasm-bindgen/wasm-bindgen/blob/0.2.105/CHANGELOG.md#02105 This change greatly simplifies the updating wasm-bindgen versions as there's no longer a need to either use nightly toolchains or complex repsotiory rules to access `wasm-bindgen-cli` binaries. `crate_universe` can generate binaries thanks to the new `wasm-bindgen-cli` library target in `0.2.105`.
1 parent 61df060 commit 280114d

File tree

260 files changed

+9208
-6952
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+9208
-6952
lines changed

extensions/wasm_bindgen/3rdparty/BUILD.bazel

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,21 @@ exports_files([
88

99
crates_vendor(
1010
name = "crates_vendor",
11-
annotations = {
12-
"log": [crate.annotation(
13-
rustc_flags = [
14-
"--cfg=atomic_cas",
15-
"--cfg=use_std",
16-
],
17-
version = "<5",
18-
)],
19-
"proc-macro2": [crate.annotation(
20-
rustc_flags = ["--cfg=use_proc_macro"],
21-
)],
22-
"unicase": [crate.annotation(
23-
rustc_flags = [
24-
"--cfg=__unicase__iter_cmp",
25-
"--cfg=__unicase__defauler_hasher",
26-
],
27-
)],
28-
},
2911
cargo_lockfile = "Cargo.Bazel.lock",
30-
manifests = ["@rules_rust_wasm_bindgen_cli//:Cargo.toml"],
12+
generate_binaries = True,
3113
mode = "remote",
3214
packages = {
15+
"serde_json": crate.spec(
16+
version = "1.0.145",
17+
),
3318
"wasm-bindgen": crate.spec(
3419
version = WASM_BINDGEN_VERSION,
3520
),
21+
"wasm-bindgen-cli": crate.spec(
22+
version = WASM_BINDGEN_VERSION,
23+
),
3624
"wasm-bindgen-test": crate.spec(
37-
version = "0.3.37",
25+
version = "0.3.55",
3826
),
3927
},
4028
# Shorten the repository name to avoid MAX_PATH issues on Windows
@@ -45,14 +33,14 @@ crates_vendor(
4533

4634
alias(
4735
name = "wasm_bindgen_cli",
48-
actual = "@rules_rust_wasm_bindgen_cli",
36+
actual = "//3rdparty/crates:wasm-bindgen-cli__wasm-bindgen",
4937
tags = ["manual"],
5038
visibility = ["//visibility:public"],
5139
)
5240

5341
alias(
5442
name = "wasm_bindgen_test_runner",
55-
actual = "@rules_rust_wasm_bindgen_cli//:test_runner",
43+
actual = "//3rdparty/crates:wasm-bindgen-cli__wasm-bindgen-test-runner",
5644
tags = ["manual"],
5745
visibility = ["//visibility:public"],
5846
)

extensions/wasm_bindgen/3rdparty/BUILD.wasm-bindgen-cli.bazel

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)