diff --git a/Cargo.toml b/Cargo.toml index 7268ec25..a5fb2dbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ libc = { version = "0.2.154", default-features = false } wasi = { version = "0.14", default-features = false } # windows7 -[target.'cfg(all(windows, not(target_vendor = "win7")))'.dependencies] +[target.'cfg(all(windows, not(target_vendor = "win7"), not(getrandom_windows_legacy)))'.dependencies] windows-targets = "0.53" # wasm_js