Skip to content

Commit

Permalink
libsyntax: Update abi constants. Fixes rust-lang#5423.
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmana committed Mar 31, 2013
1 parent 8e30d3f commit 02700e0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/libsyntax/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 02700e0

Please sign in to comment.