forked from M-Labs/libfringe
rename simd -> context_simd
This fixes a spurious rustc warning.
This commit is contained in:
parent
cbe136b762
commit
bc184237cc
|
@ -34,7 +34,7 @@ fn context() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn simd() {
|
fn context_simd() {
|
||||||
unsafe extern "C" fn permuter(arg: usize) -> ! {
|
unsafe extern "C" fn permuter(arg: usize) -> ! {
|
||||||
// This will crash if the stack is not aligned properly.
|
// This will crash if the stack is not aligned properly.
|
||||||
let x = simd::i32x4::splat(arg as i32);
|
let x = simd::i32x4::splat(arg as i32);
|
||||||
|
|
Loading…
Reference in New Issue