Debian Codegraph @

debian/patches/disable-wasm.patch

raw
1 delete wasm feature and dependencies, as those are not packaged and not needed
2
3 --- a/Cargo.toml
4 +++ b/Cargo.toml
5 @@ -41,33 +41,5 @@
6 name = "sys_locale"
7 path = "src/lib.rs"
8
9 -[features]
10 -js = [
11 - "js-sys",
12 - "wasm-bindgen",
13 - "web-sys",
14 -]
15 -
16 -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.js-sys]
17 -version = "0.3"
18 -optional = true
19 -
20 -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.wasm-bindgen]
21 -version = "0.2"
22 -optional = true
23 -
24 -[target.'cfg(all(target_family = "wasm", not(unix)))'.dependencies.web-sys]
25 -version = "0.3"
26 -features = [
27 - "Window",
28 - "WorkerGlobalScope",
29 - "Navigator",
30 - "WorkerNavigator",
31 -]
32 -optional = true
33 -
34 -[target.'cfg(all(target_family = "wasm", not(unix)))'.dev-dependencies.wasm-bindgen-test]
35 -version = "0.3"
36 -
37 [target.'cfg(target_os = "android")'.dependencies.libc]
38 version = "0.2"