We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repr(packed)
repr(C, packed)
1 parent 784cfb5 commit 1963a45Copy full SHA for 1963a45
src/boot_loader_name.rs
@@ -1,6 +1,6 @@
1
2
#[derive(Debug)]
3
-#[repr(packed)] // repr(C) would add unwanted padding before first_section
+#[repr(C, packed)] // only repr(C) would add unwanted padding before first_section
4
pub struct BootLoaderNameTag {
5
typ: u32,
6
size: u32,
src/command_line.rs
pub struct CommandLineTag {
0 commit comments