Debian Codegraph @

debian/patches/2001_no_fuzz.patch

raw
1 Description: avoid fuzzing
2 Author: Jonas Smedegaard <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2026-04-04
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/Cargo.toml
8 +++ b/Cargo.toml
9 @@ -34,12 +34,9 @@
10 [workspace]
11 members = [
12 'crates/c-api',
13 - 'crates/fuzz-stats',
14 'crates/wasm-mutate-stats',
15 'crates/wasm-wave',
16 - 'fuzz',
17 'crates/wit-encoder',
18 - 'crates/wit-parser/fuzz',
19 'crates/wit-component/dl',
20 'playground/component',
21 ]
22 @@ -124,7 +121,6 @@
23 indexmap = { version = "2.7.0", default-features = false }
24 indoc = "2.0.5"
25 leb128fmt = { version = "0.1.0", default-features = false }
26 -libfuzzer-sys = "0.4.0"
27 libtest-mimic = "0.8.1"
28 log = "0.4.17"
29 num_cpus = "1.13"
30 --- a/crates/wasm-smith/Cargo.toml
31 +++ b/crates/wasm-smith/Cargo.toml
32 @@ -36,9 +36,6 @@
33 wasmprinter = { workspace = true }
34 wat = { workspace = true }
35
36 -[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
37 -libfuzzer-sys = { workspace = true }
38 -
39 [features]
40 _internal_cli = ["clap", "serde", "dep:wasmparser", "dep:wat"]
41 wasmparser = ['dep:wasmparser', 'wasm-encoder/wasmparser']