We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e30d3f commit 02700e0Copy full SHA for 02700e0
src/libsyntax/abi.rs
@@ -40,11 +40,8 @@ pub enum Architecture {
40
Mips
41
}
42
43
-// FIXME(#5423) After a snapshot, we can change these constants:
44
-// const IntelBits: u32 = (1 << (X86 as uint)) | (1 << X86_64 as uint));
45
-// const ArmBits: u32 = (1 << (Arm as uint));
46
-static IntelBits: u32 = 1 | 2;
47
-static ArmBits: u32 = 4;
+static IntelBits: u32 = (1 << (X86 as uint)) | (1 << (X86_64 as uint));
+static ArmBits: u32 = (1 << (Arm as uint));
48
49
struct AbiData {
50
abi: Abi,
0 commit comments