Skip to content

Commit b8e9a20

Browse files
authored
Merge pull request #1377 from alexcrichton/fix-dupe
Move `links` annotation to `wasm-bindgen-shared`
2 parents c9a972a + 7b6731f commit b8e9a20

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name = "wasm-bindgen"
33
version = "0.2.39"
44
authors = ["The wasm-bindgen Developers"]
55
license = "MIT/Apache-2.0"
6-
# Because only a single `wasm_bindgen` version can be used in a dependency
7-
# graph, pretend we link a native library so that `cargo` will provide better
8-
# error messages than the esoteric linker errors we would otherwise trigger.
9-
links = "wasm_bindgen"
106
readme = "README.md"
117
categories = ["wasm"]
128
repository = "https://github.com/rustwasm/wasm-bindgen"

crates/shared/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ description = """
1010
Shared support between wasm-bindgen and wasm-bindgen cli, an internal
1111
dependency.
1212
"""
13+
14+
# Because only a single `wasm_bindgen` version can be used in a dependency
15+
# graph, pretend we link a native library so that `cargo` will provide better
16+
# error messages than the esoteric linker errors we would otherwise trigger.
17+
links = "wasm_bindgen"

0 commit comments

Comments
 (0)