Small nits to make couple of tests pass on mips targets.
This commit is contained in:
parent
5d7f892356
commit
dab317f04f
@ -15,8 +15,14 @@
|
||||
// CHECK: @VAR1 = constant <{ [4 x i8] }> <{ [4 x i8] c"\01\00\00\00" }>, section ".test_one"
|
||||
#[no_mangle]
|
||||
#[link_section = ".test_one"]
|
||||
#[cfg(target_endian = "little")]
|
||||
pub static VAR1: u32 = 1;
|
||||
|
||||
#[no_mangle]
|
||||
#[link_section = ".test_one"]
|
||||
#[cfg(target_endian = "big")]
|
||||
pub static VAR1: u32 = 0x01000000;
|
||||
|
||||
pub enum E {
|
||||
A(u32),
|
||||
B(f32)
|
||||
|
@ -12,6 +12,7 @@
|
||||
// ignore-emscripten
|
||||
// ignore-powerpc
|
||||
// ignore-sparc
|
||||
// ignore-mips
|
||||
|
||||
#![feature(asm)]
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
// ignore-aarch64
|
||||
// ignore-wasm
|
||||
// ignore-emscripten
|
||||
// ignore-mips
|
||||
|
||||
#![feature(target_feature)]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user