forked from wasmerio/wasmer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (56 loc) · 1.75 KB
/
Cargo.toml
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
[package]
name = "wasmer-bin-fuzz"
version = "0.0.0"
authors = ["Automatically generated"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
anyhow = "1"
wasm-smith = { git = "https://github.com/bytecodealliance/wasm-tools" }
libfuzzer-sys = "0.4.0"
wasmer = { path = "../lib/api" }
wasmer-compiler-cranelift = { path = "../lib/compiler-cranelift", optional = true }
wasmer-compiler-llvm = { path = "../lib/compiler-llvm", optional = true }
wasmer-compiler-singlepass = { path = "../lib/compiler-singlepass", optional = true }
wasmer-engine-jit = { path = "../lib/engine-jit", optional = true }
wasmer-engine-native = { path = "../lib/engine-native", optional = true }
wasmer-middlewares = { path = "../lib/middlewares" }
[features]
cranelift = [ "wasmer-compiler-cranelift" ]
llvm = [ "wasmer-compiler-llvm" ]
singlepass = [ "wasmer-compiler-singlepass" ]
jit = [ "wasmer-engine-jit" ]
native = [ "wasmer-engine-native" ]
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "equivalence_jit"
path = "fuzz_targets/equivalence_jit.rs"
required-features = ["jit"]
[[bin]]
name = "jit_cranelift"
path = "fuzz_targets/jit_cranelift.rs"
required-features = ["jit", "cranelift"]
[[bin]]
name = "jit_llvm"
path = "fuzz_targets/jit_llvm.rs"
required-features = ["jit", "llvm"]
[[bin]]
name = "jit_singlepass"
path = "fuzz_targets/jit_singlepass.rs"
required-features = ["jit", "singlepass"]
[[bin]]
name = "metering"
path = "fuzz_targets/metering.rs"
required-features = ["jit", "cranelift"]
[[bin]]
name = "native_cranelift"
path = "fuzz_targets/native_cranelift.rs"
required-features = ["native", "cranelift"]
[[bin]]
name = "validate"
path = "fuzz_targets/validate.rs"
required-features = ["jit", "cranelift"]