Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with rust nightly #6

Open
mothran opened this issue Apr 18, 2023 · 0 comments
Open

Fails to build with rust nightly #6

mothran opened this issue Apr 18, 2023 · 0 comments

Comments

@mothran
Copy link

mothran commented Apr 18, 2023

When building with nightly I get the following error:

  error: intrinsic safety mismatch between list of intrinsics within the compiler and core library intrinsics for intrinsic `type_id`
    --> /usr/local/cargo/git/checkouts/libafl-c33dc6f5ec2f7a70/8eab7d6/libafl/src/observers/owned.rs:19:5
     |
  19 |     fn type_id<T: ?Sized>() -> u64;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Which does seem to be referenced in the main libafl codebase here: https://github.com/AFLplusplus/LibAFL/blob/fc23782dc396b7700ef8a70515e4570e0a3fcf16/libafl/src/observers/mod.rs#L22

Setup:

Using the docker rust:latest image:

rustup toolchain install nightly
rustup default nightly
cargo install -f cargo-libafl
@mothran mothran changed the title Fails to build with rust Nightly Fails to build with rust nightly Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant