(config: Config)
| 534 | |
| 535 | impl Fuzzer { |
| 536 | pub fn new_debug(config: Config) -> anyhow::Result<Self> { |
| 537 | let global_queue = Arc::new(GlobalQueue::init(1)); |
| 538 | let monitor = Arc::new(std::sync::Mutex::new(Monitor::new())); |
| 539 | let global = GlobalRef::new(0, global_queue, Some(monitor)); |
| 540 | Self::new(config, global) |
| 541 | } |
| 542 | |
| 543 | pub fn new(mut config: Config, global: GlobalRef) -> anyhow::Result<Self> { |
| 544 | let features = config::EnabledFeatures::from_env()?; |