diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index ca453521c37..2e0880e40ee 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -31,7 +31,7 @@ hex = { version = "^0.4" } # `rand` uses `getrandom` transitively, and to be able to # compile the project for `js`, we need to enable this feature [dependencies.getrandom] -version = "*" +version = "0.2.15" features = ["js"] [dev-dependencies] diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 9fb8ce71a64..d37d213fc4c 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../../../lib/types" } +wasmer-types = { path = "../../../lib/types", version="=4.3.0" } wasmer-wasix = { path = "../../../lib/wasix", version="=0.20.0" } wasmer = { path = "../../../lib/api", version = "=4.3.0", default-features = false } virtual-fs = { path = "../../../lib/virtual-fs", version = "0.11.4" }