-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zerocopy-derive] Add support for untagged unions
This change adds support for deriving Unaligned, FromBytes, and AsBytes for untagged unions. In addition, this commit makes a small number of related changes for cleanup purposes: - Implements `Unaligned` for `bool`. - Adds a path dependency for `zerocopy-derive` for easier local development. - Explicitly requires the `visit` feature of `syn`. - Updates the `compiletest_rs` dependency to 0.7 for the bless feature. - Updates existing compiletest failures with new compiler errors. Change-Id: I5dcba0ebcdb6c3c9436c1bbdadba93b4cf8624a7 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/639087 Reviewed-by: Joshua Liebow-Feeser <[email protected]> Commit-Queue: David Koloski <[email protected]>
- Loading branch information
Showing
11 changed files
with
451 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.