File: 2001_no_feature_fuzzing.patch

package info (click to toggle)
rust-regalloc2 0.10.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 680 kB
  • sloc: makefile: 22; sh: 1
file content (27 lines) | stat: -rw-r--r-- 789 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
Description: avoid internal-only feature fuzzing
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,9 +26,6 @@
     "alloc",
 ], default-features = false, optional = true }
 
-# The below are only needed for fuzzing.
-libfuzzer-sys = { version = "0.4.2", optional = true }
-
 # When testing regalloc2 by itself, enable debug assertions and overflow checks
 [profile.release]
 debug = true
@@ -47,8 +44,5 @@
 # Enables detailed logging which can be somewhat expensive.
 trace-log = []
 
-# Exposes the internal API for fuzzing.
-fuzzing = ["libfuzzer-sys", "checker", "trace-log"]
-
 # Enables serde for exposed types.
 enable-serde = ["serde"]