Debian Codegraph @

debian/patches/2001_no_bench.patch

raw
1 Description: avoid benches
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 @@ -117,7 +117,6 @@
10 clap = { version = "4.0.0", features = ["derive"] }
11 clap_complete = "4.4.7"
12 comfy-table = { version = "7.1.3", default-features = false }
13 -criterion = { version = "0.5.1", default-features = false }
14 env_logger = "0.11"
15 gimli = "0.32.3"
16 hashbrown = { version = ">= 0.15.2, <= 0.16", default-features = false, features = ['default-hasher'] }
17 --- a/crates/wasm-smith/Cargo.toml
18 +++ b/crates/wasm-smith/Cargo.toml
19 @@ -1,4 +1,5 @@
20 [package]
21 +autobenches = false
22 authors = ["Nick Fitzgerald <[email protected]>"]
23 categories = ["command-line-utilities", "development-tools", "development-tools::testing", "wasm"]
24 description = "A WebAssembly test case generator"
25 @@ -15,10 +16,6 @@
26 [package.metadata.docs.rs]
27 all-features = true
28
29 -[[bench]]
30 -name = "corpus"
31 -harness = false
32 -
33 [lints]
34 workspace = true
35
36 @@ -34,7 +31,6 @@
37 wat = { workspace = true, optional = true }
38
39 [dev-dependencies]
40 -criterion = { workspace = true }
41 rand = { workspace = true }
42 wasmparser = { workspace = true, features = ['std', 'validate', 'features', 'simd'] }
43 wasmprinter = { workspace = true }
44 --- a/crates/wasmparser/Cargo.toml
45 +++ b/crates/wasmparser/Cargo.toml
46 @@ -1,4 +1,5 @@
47 [package]
48 +autobenches = false
49 name = "wasmparser"
50 version.workspace = true
51 authors = ["Yury Delendik <[email protected]>"]
52 @@ -28,19 +29,13 @@
53
54 [dev-dependencies]
55 anyhow = { workspace = true }
56 -criterion = { workspace = true }
57 env_logger.workspace = true
58 log.workspace = true
59 -once_cell = "1.13.0"
60 rayon = { workspace = true }
61 wasm-encoder = { path = "../wasm-encoder" }
62 wast = { path = "../wast" }
63 wat = { path = "../wat" }
64
65 -[[bench]]
66 -name = "benchmark"
67 -harness = false
68 -
69 [features]
70 default = ['std', 'validate', 'serde', 'features', 'component-model', 'hash-collections', 'simd']
71