File: 2003_no_bench.patch

package info (click to toggle)
rust-wasmtime 26.0.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 48,504 kB
  • sloc: ansic: 4,003; sh: 561; javascript: 542; cpp: 254; asm: 175; ml: 96; makefile: 55
file content (81 lines) | stat: -rw-r--r-- 1,912 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Description: avoid benches
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-05-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,6 +12,7 @@
 edition.workspace = true
 default-run = "wasmtime"
 rust-version.workspace = true
+autobenches = false
 
 [package.metadata.binstall]
 pkg-url = "{repo}/releases/download/v{version}/wasmtime-v{version}-{target-arch}-{target-family}{archive-suffix}"
@@ -86,7 +87,6 @@
 tempfile = { workspace = true }
 tokio = { workspace = true, features = ["rt", "time", "macros", "rt-multi-thread"] }
 wast = { workspace = true }
-criterion = { workspace = true }
 num_cpus = "1.13.0"
 memchr = "2.4"
 async-trait = { workspace = true }
@@ -312,7 +312,6 @@
 url = "2.3.1"
 humantime = "2.0.0"
 postcard = { version = "1.0.8", default-features = false, features = ['alloc'] }
-criterion = { version = "0.5.0", default-features = false, features = ["html_reports", "rayon"] }
 rustc-hash = "2.0.0"
 libtest-mimic = "0.7.0"
 semver = { version = "1.0.17", default-features = false }
@@ -432,22 +431,6 @@
 [[example]]
 name = "tokio"
 
-[[bench]]
-name = "instantiation"
-harness = false
-
-[[bench]]
-name = "thread_eager_init"
-harness = false
-
-[[bench]]
-name = "trap"
-harness = false
-
-[[bench]]
-name = "call"
-harness = false
-
 [profile.fastest-runtime]
 inherits = "release"
 codegen-units = 1
--- a/cranelift/codegen/Cargo.toml
+++ b/cranelift/codegen/Cargo.toml
@@ -12,6 +12,7 @@
 build = "build.rs"
 edition.workspace = true
 rust-version.workspace = true
+autobenches = false
 
 [lints]
 workspace = true
@@ -43,7 +44,6 @@
 # accommodated in `tests`.
 
 [dev-dependencies]
-criterion = { workspace = true }
 similar = "2.1.0"
 env_logger = { workspace = true }
 
@@ -123,7 +123,3 @@
 #
 # Enabled by default.
 timing = []
-
-[[bench]]
-name = "x64-evex-encoding"
-harness = false