| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-05-05 | Allow attributes in std::bitflags::bitflags! | Aaron Turon | -25/+40 | |
| The `std::bitflags::bitflags!` macro did not provide support for adding attributes to the generated structure or flags, due to limitations in the parser for macros. This patch works around the parser limitations by requiring a `flags` keyword in the overall `bitflags!` invocation, and a `static` keyword for each flag: bitflags!( #[deriving(Hash)] #[doc="Three flags"] flags Flags: u32 { #[doc="The first flag"] static FlagA = 0x00000001, static FlagB = 0x00000010, static FlagC = 0x00000100 } ) | ||||
| 2014-05-01 | remove leftover obsolete string literals | Daniel Micay | -1/+1 | |
| 2014-04-30 | Update for language changes | Brendan Zabarauskas | -1/+1 | |
| 2014-04-30 | Move bitflags module to libstd | Brendan Zabarauskas | -0/+257 | |
| This will allow us to provide type-safe APIs in libstd that are C-compatible. | ||||
