diff --git a/Cargo.toml b/Cargo.toml index 9291a5a8..9a0b1ffd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,10 +3,6 @@ name = "wasm-bindgen" version = "0.2.39" authors = ["The wasm-bindgen Developers"] license = "MIT/Apache-2.0" -# Because only a single `wasm_bindgen` version can be used in a dependency -# graph, pretend we link a native library so that `cargo` will provide better -# error messages than the esoteric linker errors we would otherwise trigger. -links = "wasm_bindgen" readme = "README.md" categories = ["wasm"] repository = "https://github.com/rustwasm/wasm-bindgen" diff --git a/crates/shared/Cargo.toml b/crates/shared/Cargo.toml index 93b3fc54..5b096217 100644 --- a/crates/shared/Cargo.toml +++ b/crates/shared/Cargo.toml @@ -10,3 +10,8 @@ description = """ Shared support between wasm-bindgen and wasm-bindgen cli, an internal dependency. """ + +# Because only a single `wasm_bindgen` version can be used in a dependency +# graph, pretend we link a native library so that `cargo` will provide better +# error messages than the esoteric linker errors we would otherwise trigger. +links = "wasm_bindgen"