AFLplusplus / AFLplusplus/LibAFL

Error running libafl_libfuzzer_runtime/build.sh with stable toolchain

Đang mở
#3,767 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Rust
Star
2.6k
Fork
481
Merge trung bình
2 ngày 30 phút
Pull request đã merge (30 ngày)
16

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.