Skip to content

Commit

Permalink
Fix a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Nov 22, 2024
1 parent 6733f36 commit 77644e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/sys_common/symlink_junction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pub fn symlink_junction_utf8<P: AsRef<Utf8Path>, Q: AsRef<Utf8Path>>(
///
/// This is enough for almost all of the buffers we're likely to work with in
/// the Windows APIs we use.
#[cfg(windows)]
#[repr(C, align(8))]
#[derive(Copy, Clone)]
struct Align8<T: ?Sized>(pub T);
Expand Down

0 comments on commit 77644e2

Please sign in to comment.