Samuel Moelius

Results 305 comments of Samuel Moelius

> Waiting on [rust-lang/rust#94927](https://github.com/rust-lang/rust/pull/94927) Of course, `rustfmt` support for `let_chains` is not yet finalized: https://github.com/rust-lang/rustfmt/pull/5203 One might continue to use this crate for that reason.

@mrthankyou Could you provide `rustc --vesion` and `cargo afl --version`? Also, what operating system are you using?

Thanks for the detailed output, @dymk. I think I see the problem. One has to use `cargo afl build`, not `cargo build`. (The former tells rustc where to find the...

@sunchao @mrthankyou Does this fix this issue for you as well? Could we possibly close this issue?

In principle, it could, but I think this would require significant changes to afl.rs. Right now, AFL's output directory is opaque to afl.rs. A change like this would require afl.rs...

Actually, I think I was being a little rash. Looking more closely at [how libfuzzer does this](https://github.com/rust-fuzz/libfuzzer/blob/fcf3b18c854e2e5e7f61a8a701f72ef051b1c7e1/src/lib.rs#L183-L198), I think it would be possible to incorporate something similar to afl.rs without...

Hi, @kvark. Thanks for the detailed output. It looks like `AFLplusplus` is failing to build. The part that says `llvm-config is not helping us` gets my attention. Do you have...

Here is one place where things seem to be going wrong: https://github.com/AFLplusplus/AFLplusplus/blob/9321a24e682b5c8bf6278961bd014cb883b87295/GNUmakefile.llvm#L120 Could you please share the output of the following commands: ``` llvm-config --bindir ls `llvm-config --bindir` ``` If...

> I'd love to have some sort of a workaround. I don't know a lot about Nix. Could you just put a symlink in place to point to the real...

Thanks for your comment, @Ralith. I understand your point that `-Werror` should not be used in build scripts. But this appears to be in AFLplusplus's build script. So I think...