Skip to content

Error running libafl_libfuzzer_runtime/build.sh with stable toolchain #3767

@mschwager

Description

@mschwager

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions