zerocopy
zerocopy copied to clipboard
Add a CI job to run the clippy linting software. Fixes #49
We use the [`trybuild`](https://crates.io/crates/trybuild) crate to test that zerocopy-derive correctly rejects code that it ought to. We have the same running for zerocopy itself, but no tests have been written...
Add check_msrv job to ci workflow. Checking the MSRV specified in all places mentioned in #39: - Doc comment in src/lib.rs - .github/workflows/ci.yml - tests/trybuild.rs (added in https://github.com/google/zerocopy/pull/60, which hasn't...
We currently run a large suite of tests in CI, which includes testing with different tools across different toolchains and different targets. It also involves miscellaneous things like confirming that...
Exactly what it says on the tin. @frazar is working on this in #51
The `LayoutVerified` type wraps a byte slice reference. It is a witness type that guarantees that the length and alignment have been validated to be compatible with a type parameter,...
Our MSRV is used in a number of places: - Doc comment in `src/lib.rs` - `.github/workflows/ci.yml` - `tests/trybuild.rs` (added in #60, which hasn't merged as of this writing) - `zerocopy-derive/tests/trybuild.rs`...
Currently, Miri doesn't support any wasm target (see https://github.com/google/zerocopy/issues/22#issuecomment-1281481417). Once one is supported, we should run `cargo miri test` on a wasm target in CI. ## Old issue text [This...
Update `generate-readme.sh` to emit a comment following the copyright comment that explains that: - `README.md` is generated automatically - Edits should be made in the doc comment on `src/lib.rs` or...
added the comment