libsyntax: Update abi constants. Fixes #5423.
This commit is contained in:
parent
8e30d3fc0b
commit
02700e0e8d
@ -40,11 +40,8 @@ pub enum Architecture {
|
||||
Mips
|
||||
}
|
||||
|
||||
// FIXME(#5423) After a snapshot, we can change these constants:
|
||||
// const IntelBits: u32 = (1 << (X86 as uint)) | (1 << X86_64 as uint));
|
||||
// const ArmBits: u32 = (1 << (Arm as uint));
|
||||
static IntelBits: u32 = 1 | 2;
|
||||
static ArmBits: u32 = 4;
|
||||
static IntelBits: u32 = (1 << (X86 as uint)) | (1 << (X86_64 as uint));
|
||||
static ArmBits: u32 = (1 << (Arm as uint));
|
||||
|
||||
struct AbiData {
|
||||
abi: Abi,
|
||||
|
Loading…
Reference in New Issue
Block a user