Skip to content

Commit

Permalink
libsyntax: Update abi constants. Fixes #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

5 comments on commit 02700e0

@bors
Copy link
Contributor

@bors bors commented on 02700e0 Mar 31, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from brson
at luqmana@02700e0

@bors
Copy link
Contributor

@bors bors commented on 02700e0 Mar 31, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging luqmana/rust/5423 = 02700e0 into auto

@bors
Copy link
Contributor

@bors bors commented on 02700e0 Mar 31, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

luqmana/rust/5423 = 02700e0 merged ok, testing candidate = 75d615d

@bors
Copy link
Contributor

@bors bors commented on 02700e0 Mar 31, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 02700e0 Mar 31, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 75d615d

Please sign in to comment.