Skip to content
A macro to generate structures which behave like bitflags
Branch: master
Clone or download
bors and KodrAus Merge #186
186: fix up failing test and ensure it runs in CI r=KodrAus a=KodrAus

Closes #185 

We have a failing test on Windows that's been going unnoticed for a while, because we don't test Windows in CI.

This isn't a bug in `bitflags` itself, just one of its tests not being updated.

Co-authored-by: Ashley Mannix <>
Latest commit de30308 Jul 20, 2019


Build Status Join the chat at Latest version Documentation Minimum rustc version License

A Rust macro to generate structures which behave like a set of bitflags


Add this to your Cargo.toml:

bitflags = "1.0"

and this to your crate root:

extern crate bitflags;

Rust Version Support

The minimum supported Rust version is 1.20 due to use of associated constants.

You can’t perform that action at this time.