AFLplusplus / AFLplusplus/LibAFL

Error running libafl_libfuzzer_runtime/build.sh with stable toolchain

未关闭
#3,767 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Rust
星标
2.6k
派生
481
平均合并
2 天 30 分钟
30 天内合并 PR
16

描述

**IMPORTANT**
1. You have verified that the issue to be present in the current `main` branch

Thank you for making LibAFL better!

**Describe the bug**
A clear and concise description of what the bug is.
If you want to present the backtrace, don't forget to run with `errors_backtrace` feature and log from `RUST_LOG`
In addition, please tell us what is your fuzzer's Cargo.toml

I'm trying to build the standalone libFuzzer compatibility library by running [`build.sh`](https://github.com/AFLplusplus/LibAFL/blob/0.15.4/crates/libafl_libfuzzer_runtime/build.sh). `nightly` is giving me build errors, so I tried to build with `stable` and get the following error:

```
#13 [libafl-builder 7/7] RUN bash build.sh --toolchain stable
#13 84.57 Finished `release` profile [optimized + debuginfo] target(s) in 1m 24s
#13 84.60 error: the `-Z` flag is only accepted on the nightly channel of Cargo, but this is the `stable` channel
#13 84.60 See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
#13 ERROR: process "/bin/sh -c bash build.sh --toolchain stable" did not complete successfully: exit code: 101
```

**To Reproduce**
Steps to reproduce the behavior:

1. `bash build.sh --toolchain stable`

**Expected behavior**
A clear and concise description of what you expected to happen.

The library successfully builds against the stable channel.

**Screen output/Screenshots**
If applicable, add copy-paste of the screen output or screenshot that shows the issue. Please ensure the output is in **English** and not in Chinese, Russian, German, etc.

**Additional context**
Add any other context about the problem here.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。