AFLplusplus / AFLplusplus/cargo-libafl

Fails to build with rust nightly

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
60
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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() -> 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:

```bash
rustup toolchain install nightly
rustup default nightly
cargo install -f cargo-libafl
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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