Skip to content

Commit 967a729

Browse files
committed
Fix for bitflags!, refs rust-lang/rust#21254
1 parent b31eee4 commit 967a729

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ authors = ["Carl Lerche <[email protected]>"]
77
homepage = "https://github.com/carllerche/nix-rust"
88
license = "MIT"
99
exclude = [".gitignore", ".travis.yml", "tests/**/*"]
10+
11+
[dependencies]
12+
bitflags = "0.1"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![feature(linkage)]
44
#![allow(unstable)]
55
#![allow(non_camel_case_types)]
6+
#[macro_use] extern crate bitflags;
67

78
extern crate libc;
89
extern crate core;

0 commit comments

Comments
 (0)