-
-
Save jeffs/1b3df280bbdb978b13c9636fd4e1ba59 to your computer and use it in GitHub Desktop.
nested-type-alignment-rs-run
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
$ cargo run | |
Rust struct: | |
offset of a: 8 bytes | |
offset of b: 0 bytes | |
offset of c: 10 bytes | |
offset of d: 4 bytes | |
total size: 12 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment