google / google/zerocopy

Deny various warnings in derived code

Open
#374 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

I just ran into an issue where I forgot to wrap something in unsafe, and the reason was that the emitted code was inside an `unsafe` method impl. We should annotate the impl blocks emitted by zerocopy-derive with `#[deny(unsafe_op_in_unsafe_fn)]` and other reasonable lints.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.