File: disable-wasm.patch

package info (click to toggle)
rust-fastrand 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: fastrand/Cargo.toml
===================================================================
--- fastrand.orig/Cargo.toml
+++ fastrand/Cargo.toml
@@ -73,18 +73,6 @@ alloc = []
 default = ["std"]
 js = [
     "std",
-    "getrandom",
 ]
 std = ["alloc"]
 
-[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
-version = ">= 0.2, < 0.5"
-features = ["js"]
-optional = true
-
-[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom]
-version = ">= 0.2, < 0.5"
-features = ["js"]
-
-[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
-version = "0.3"