Move the fuzz directory into main workspace
This'll help us track dependencies and head off issues like #721
This commit is contained in:
21
Cargo.lock
generated
21
Cargo.lock
generated
@@ -922,6 +922,15 @@ version = "0.2.66"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
|
checksum = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "libfuzzer-sys"
|
||||||
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/rust-fuzz/libfuzzer-sys.git#0c4507533a79e85e1984f59765bdd35fbdaa7f1b"
|
||||||
|
dependencies = [
|
||||||
|
"arbitrary",
|
||||||
|
"cc",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libloading"
|
name = "libloading"
|
||||||
version = "0.5.2"
|
version = "0.5.2"
|
||||||
@@ -2037,6 +2046,18 @@ dependencies = [
|
|||||||
"zstd",
|
"zstd",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "wasmtime-fuzz"
|
||||||
|
version = "0.7.0"
|
||||||
|
dependencies = [
|
||||||
|
"arbitrary",
|
||||||
|
"env_logger 0.7.1",
|
||||||
|
"libfuzzer-sys",
|
||||||
|
"log",
|
||||||
|
"wasmtime-fuzzing",
|
||||||
|
"wasmtime-jit",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmtime-fuzzing"
|
name = "wasmtime-fuzzing"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ members = [
|
|||||||
"crates/fuzzing",
|
"crates/fuzzing",
|
||||||
"crates/misc/rust",
|
"crates/misc/rust",
|
||||||
"crates/misc/py",
|
"crates/misc/py",
|
||||||
|
"fuzz",
|
||||||
]
|
]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
@@ -16,22 +16,22 @@ wasmtime-fuzzing = { path = "../crates/fuzzing", features = ["env_logger"] }
|
|||||||
wasmtime-jit = { path = "../crates/jit" }
|
wasmtime-jit = { path = "../crates/jit" }
|
||||||
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
||||||
|
|
||||||
# Prevent this from interfering with workspaces
|
|
||||||
[workspace]
|
|
||||||
members = ["."]
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "compile"
|
name = "compile"
|
||||||
path = "fuzz_targets/compile.rs"
|
path = "fuzz_targets/compile.rs"
|
||||||
|
test = false
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "instantiate"
|
name = "instantiate"
|
||||||
path = "fuzz_targets/instantiate.rs"
|
path = "fuzz_targets/instantiate.rs"
|
||||||
|
test = false
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "instantiate_translated"
|
name = "instantiate_translated"
|
||||||
path = "fuzz_targets/instantiate_translated.rs"
|
path = "fuzz_targets/instantiate_translated.rs"
|
||||||
|
test = false
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "api_calls"
|
name = "api_calls"
|
||||||
path = "fuzz_targets/api_calls.rs"
|
path = "fuzz_targets/api_calls.rs"
|
||||||
|
test = false
|
||||||
|
|||||||
Reference in New Issue
Block a user