File: 2003_no_profiling.patch

package info (click to toggle)
rust-wasmtime 26.0.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 50,312 kB
  • sloc: ansic: 4,003; sh: 561; javascript: 542; cpp: 254; asm: 175; ml: 96; makefile: 55
file content (107 lines) | stat: -rw-r--r-- 3,142 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Description: avoid feature profiling
 Requires not-in-Debian crate ittapi.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-07-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -285,7 +285,6 @@
   "cache",
   "demangle",
   "cranelift",
-  "profiling",
   "coredump",
   "addr2line",
   "debug-builtins",
@@ -323,7 +322,6 @@
 parallel-compilation = ["wasmtime-cli-flags/parallel-compilation"]
 demangle = ["wasmtime/demangle"]
 cranelift = ["wasmtime-cli-flags/cranelift", "dep:wasmtime-cranelift"]
-profiling = ["wasmtime/profiling", "wasmtime/call-hook"]
 coredump = ["wasmtime-cli-flags/coredump"]
 addr2line = ["wasmtime/addr2line"]
 debug-builtins = ["wasmtime/debug-builtins"]
--- a/crates/c-api/Cargo.toml
+++ b/crates/c-api/Cargo.toml
@@ -37,7 +37,6 @@
 [features]
 # WASMTIME_FEATURE_LIST
 async = ['wasmtime/async', 'futures']
-profiling = ["wasmtime/profiling"]
 cache = ["wasmtime/cache"]
 parallel-compilation = ['wasmtime/parallel-compilation']
 logging = ['dep:env_logger']
--- a/crates/c-api/artifact/Cargo.toml
+++ b/crates/c-api/artifact/Cargo.toml
@@ -23,7 +23,6 @@
 [features]
 # WASMTIME_FEATURE_LIST
 default = [
-  'profiling',
   'wat',
   'wasi',
   'cache',
@@ -40,7 +39,6 @@
   # marked WASMTIME_FEATURE_LIST
 ]
 async = ['wasmtime-c-api/async']
-profiling = ["wasmtime-c-api/profiling"]
 cache = ["wasmtime-c-api/cache"]
 parallel-compilation = ['wasmtime-c-api/parallel-compilation']
 wasi = ['wasmtime-c-api/wasi']
--- a/crates/wasmtime/Cargo.toml
+++ b/crates/wasmtime/Cargo.toml
@@ -38,7 +38,6 @@
 wat = { workspace = true, optional = true }
 serde = { workspace = true }
 serde_derive = { workspace = true }
-serde_json = { workspace = true, optional = true }
 sptr = { workspace = true }
 postcard = { workspace = true }
 indexmap = { workspace = true }
@@ -48,7 +47,6 @@
 object = { workspace = true }
 async-trait = { workspace = true, optional = true }
 bumpalo = "3.11.0"
-fxprof-processed-profile = { version = "0.6.0", optional = true }
 gimli = { workspace = true, optional = true }
 addr2line = { workspace = true, optional = true }
 smallvec = { workspace = true, optional = true }
@@ -56,9 +54,6 @@
 libm = "0.2.7"
 bitflags = { workspace = true }
 
-[target.'cfg(all(target_arch = "x86_64", not(target_os = "android")))'.dependencies]
-ittapi = { version = "0.4.0", optional = true }
-
 [target.'cfg(target_os = "linux")'.dependencies]
 memfd = { workspace = true, optional = true }
 
@@ -93,7 +88,6 @@
   'cache',
   'gc',
   'wat',
-  'profiling',
   'parallel-compilation',
   'cranelift',
   'pooling-allocator',
@@ -120,17 +114,6 @@
 # Enables support for incremental compilation cache to be enabled in `Config`.
 incremental-cache = ["wasmtime-cranelift?/incremental-cache", "std"]
 
-# Enables support for profiling guest modules.
-profiling = [
-  "dep:fxprof-processed-profile",
-  "dep:wasmtime-jit-debug",
-  "dep:ittapi",
-  "dep:rustix",
-  "rustix/thread",
-  "dep:serde_json",
-  "std",
-]
-
 # Enables parallel compilation of WebAssembly code.
 parallel-compilation = ["dep:rayon", "std"]