Skip to content

Commit

Permalink
Merge pull request #26 from adavis628/master
Browse files Browse the repository at this point in the history
fix: Make BaseRevision repr(C)
  • Loading branch information
lylythechosenone authored Apr 1, 2024
2 parents a0da169 + ec33dfc commit 4fc6a03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub mod smp;
/// bootloader will assume revision 0.
///
/// The latest revision is 1.
#[repr(C)]
pub struct BaseRevision {
_id: [u64; 2],
revision: UnsafeCell<u64>,
Expand Down

0 comments on commit 4fc6a03

Please sign in to comment.