1[package] 2name = "wasmtime-fuzz" 3version = "0.0.0" 4edition.workspace = true 5rust-version.workspace = true 6publish = false 7 8[lints] 9workspace = true 10 11[package.metadata] 12cargo-fuzz = true 13 14[dependencies] 15mutatis = { workspace = true } 16rand = { workspace = true } 17postcard = { workspace = true } 18env_logger = { workspace = true } 19cranelift-assembler-x64 = { workspace = true, features = ["fuzz"] } 20cranelift-codegen = { workspace = true, features = ["incremental-cache", "x86", "arm64", "s390x", "riscv64"] } 21cranelift-reader = { workspace = true } 22cranelift-filetests = { workspace = true } 23cranelift-interpreter = { workspace = true } 24cranelift-fuzzgen = { workspace = true } 25cranelift-native = { workspace = true } 26cranelift-control = { workspace = true } 27libfuzzer-sys = { workspace = true, features = ["arbitrary-derive"] } 28target-lexicon = { workspace = true } 29pulley-interpreter-fuzz = { workspace = true } 30smallvec = { workspace = true } 31wasmparser = { workspace = true } 32wasmtime = { workspace = true, features = ["winch"] } 33wasmtime-fuzzing = { workspace = true } 34wasmtime-test-util = { workspace = true } 35log = { workspace = true } 36 37# Only for use by the Cranlift fuzz targets. Wasmtime fuzz targets should 38# use `wasmtime::{Error, Result}`. 39anyhow = { workspace = true } 40 41[build-dependencies] 42proc-macro2 = { workspace = true } 43arbitrary = { workspace = true, features = ["derive"] } 44rand = { version = "0.8.0" } 45quote = { workspace = true } 46wasmtime = { workspace = true } 47wasmtime-test-util = { workspace = true, features = ['component-fuzz'] } 48 49[features] 50default = ['fuzz-spec-interpreter'] 51fuzz-spec-interpreter = ['wasmtime-fuzzing/fuzz-spec-interpreter'] 52chaos = ["cranelift-control/chaos"] 53 54[[bin]] 55name = "compile" 56path = "fuzz_targets/compile.rs" 57test = false 58doc = false 59 60[[bin]] 61name = "instantiate" 62path = "fuzz_targets/instantiate.rs" 63test = false 64doc = false 65 66[[bin]] 67name = "differential" 68path = "fuzz_targets/differential.rs" 69test = false 70doc = false 71 72[[bin]] 73name = "wast_tests" 74path = "fuzz_targets/wast_tests.rs" 75test = false 76doc = false 77 78[[bin]] 79name = "cranelift-fuzzgen" 80path = "fuzz_targets/cranelift-fuzzgen.rs" 81test = false 82doc = false 83 84[[bin]] 85name = "instantiate-many" 86path = "fuzz_targets/instantiate-many.rs" 87test = false 88doc = false 89 90[[bin]] 91name = "component_api" 92path = "fuzz_targets/component_api.rs" 93test = false 94doc = false 95 96[[bin]] 97name = "cranelift-icache" 98path = "fuzz_targets/cranelift-icache.rs" 99test = false 100doc = false 101 102[[bin]] 103name = "call_async" 104path = "fuzz_targets/call_async.rs" 105test = false 106doc = false 107 108[[bin]] 109name = "misc" 110path = "fuzz_targets/misc.rs" 111test = false 112doc = false 113bench = false 114 115[[bin]] 116name = "exception_ops" 117path = "fuzz_targets/exception_ops.rs" 118test = false 119doc = false 120bench = false 121 122[[bin]] 123name = "gc_ops" 124path = "fuzz_targets/gc_ops.rs" 125test = false 126doc = false 127bench = false 128