Skip to content

Commit 77644e2

Browse files
committed
Fix a warning.
1 parent 6733f36 commit 77644e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/sys_common/symlink_junction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pub fn symlink_junction_utf8<P: AsRef<Utf8Path>, Q: AsRef<Utf8Path>>(
5454
///
5555
/// This is enough for almost all of the buffers we're likely to work with in
5656
/// the Windows APIs we use.
57+
#[cfg(windows)]
5758
#[repr(C, align(8))]
5859
#[derive(Copy, Clone)]
5960
struct Align8<T: ?Sized>(pub T);

0 commit comments

Comments
 (0)