Fix typo in cfg
This commit is contained in:
parent
87c70444d6
commit
7586d9dcd1
1 changed files with 2 additions and 2 deletions
|
|
@ -2363,8 +2363,8 @@ mod sealed {
|
|||
($fun:ident ($a:ident) -> $r:ident [$little:ident, $big:ident]) => {
|
||||
#[inline]
|
||||
#[target_feature(enable = "altivec")]
|
||||
#[cfg_attr(all(test, target_endiant = "little"), assert_instr($little))]
|
||||
#[cfg_attr(all(test, target_endiant = "big"), assert_instr($big))]
|
||||
#[cfg_attr(all(test, target_endian = "little"), assert_instr($little))]
|
||||
#[cfg_attr(all(test, target_endian = "big"), assert_instr($big))]
|
||||
unsafe fn $fun(a: $a) -> $r {
|
||||
if cfg!(target_endian = "little") {
|
||||
$little(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue