Skip to content

Commit 3d80d66

Browse files
author
bors-servo
authored
Auto merge of #1413 - emilio:be-tests, r=emilio
Skip bitfield unit tests on big-endian platforms. Fixes #1412.
2 parents 35a349d + fdde42d commit 3d80d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub mod struct_layout;
77
#[cfg(test)]
88
#[allow(warnings)]
99
pub(crate) mod bitfield_unit;
10-
#[cfg(test)]
10+
#[cfg(all(test, target_endian = "little"))]
1111
mod bitfield_unit_tests;
1212

1313
use self::helpers::attributes;

0 commit comments

Comments
 (0)