|
|
|
@ -127,10 +127,10 @@ impl Fixture { |
|
|
|
|
crate-type = ["cdylib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
wasm-bindgen-test = "=0.2.21" |
|
|
|
|
wasm-bindgen-test = "0.2" |
|
|
|
|
"#, |
|
|
|
|
name |
|
|
|
|
), |
|
|
|
@ -201,7 +201,7 @@ impl Fixture { |
|
|
|
|
pub fn install_local_wasm_bindgen(&self) -> PathBuf { |
|
|
|
|
static INSTALL_WASM_BINDGEN: Once = ONCE_INIT; |
|
|
|
|
let cache = self.cache(); |
|
|
|
|
let version = "0.2.21"; |
|
|
|
|
let version = "0.2.37"; |
|
|
|
|
|
|
|
|
|
let download = || { |
|
|
|
|
if let Ok(download) = |
|
|
|
@ -351,10 +351,10 @@ pub fn no_cdylib() -> Fixture { |
|
|
|
|
# crate-type = ["cdylib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
wasm-bindgen-test = "=0.2.21" |
|
|
|
|
wasm-bindgen-test = "0.2" |
|
|
|
|
"#, |
|
|
|
|
); |
|
|
|
|
fixture |
|
|
|
@ -403,14 +403,14 @@ pub fn wbg_test_diff_versions() -> Fixture { |
|
|
|
|
crate-type = ["cdylib", "rlib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
# We depend on wasm-bindgen 0.2.21 |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
# We depend on the latest wasm-bindgen 0.2 |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
# And we depend on wasm-bindgen-test 0.2.19. This should still |
|
|
|
|
# work, and we should end up with `wasm-bindgen` at 0.2.21 and |
|
|
|
|
# wasm-bindgen-test at 0.2.19, and everything should still work. |
|
|
|
|
wasm-bindgen-test = "0.2.19" |
|
|
|
|
# And we depend on wasm-bindgen-test 0.2.29. This should still |
|
|
|
|
# work, and we should end up with the latest `wasm-bindgen` and |
|
|
|
|
# wasm-bindgen-test at 0.2.29, and everything should still work. |
|
|
|
|
wasm-bindgen-test = "0.2.29" |
|
|
|
|
"#, |
|
|
|
|
) |
|
|
|
|
.file( |
|
|
|
@ -522,12 +522,12 @@ pub fn transitive_dependencies() -> Fixture { |
|
|
|
|
crate-type = ["cdylib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
project_a = { path = "../project_a" } |
|
|
|
|
project_b = { path = "../project_b" } |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
wasm-bindgen-test = "=0.2.21" |
|
|
|
|
wasm-bindgen-test = "0.2" |
|
|
|
|
"#, |
|
|
|
|
); |
|
|
|
|
fixture.file( |
|
|
|
@ -572,11 +572,11 @@ pub fn transitive_dependencies() -> Fixture { |
|
|
|
|
crate-type = ["cdylib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
project_b = { path = "../project_b" } |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
wasm-bindgen-test = "=0.2.21" |
|
|
|
|
wasm-bindgen-test = "0.2" |
|
|
|
|
"#, |
|
|
|
|
); |
|
|
|
|
fixture.file( |
|
|
|
@ -622,10 +622,10 @@ pub fn transitive_dependencies() -> Fixture { |
|
|
|
|
crate-type = ["cdylib"] |
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
|
wasm-bindgen = "=0.2.21" |
|
|
|
|
wasm-bindgen = "0.2" |
|
|
|
|
|
|
|
|
|
[dev-dependencies] |
|
|
|
|
wasm-bindgen-test = "=0.2.21" |
|
|
|
|
wasm-bindgen-test = "0.2" |
|
|
|
|
"#, |
|
|
|
|
); |
|
|
|
|
fixture.file( |
|
|
|
|