From e41e47109992a26d67d355b39bd195915634e540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20C=C3=B4rte-Real?= Date: Fri, 22 Feb 2019 01:32:07 +0000 Subject: [PATCH] Fix broken OS detection The #141 workaround was actually fully disabled because the OS condition was wrong. This fixes the workaround. --- src/bin/cargo-afl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/cargo-afl.rs b/src/bin/cargo-afl.rs index 0931496f7..4c7e7f298 100644 --- a/src/bin/cargo-afl.rs +++ b/src/bin/cargo-afl.rs @@ -190,7 +190,7 @@ where common::afl_llvm_rt_dir().display() ); - if cfg!(linux) { + if cfg!(target_os = "linux") { // work around https://github.com/rust-fuzz/afl.rs/issues/141 / // https://github.com/rust-lang/rust/issues/53945, can be removed once // those are fixed.