rust/mk
Alex Crichton 34fa70fba5 std: Move the bitflags! macro to a gated crate
In accordance with [collections reform part 2][rfc] this macro has been moved to
an external [bitflags crate][crate] which is [available though
crates.io][cratesio]. Inside the standard distribution the macro has been moved
to a crate called `rustc_bitflags` for current users to continue using.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
[crate]: https://github.com/rust-lang/bitflags
[cratesio]: http://crates.io/crates/bitflags

The major user of `bitflags!` in terms of a public-facing possibly-stable API
today is the `FilePermissions` structure inside of `std::io`. This user,
however, will likely no longer use `bitflags!` after I/O reform has landed. To
prevent breaking APIs today, this structure remains as-is.

Current users of the `bitflags!` macro should add this to their `Cargo.toml`:

    bitflags = "0.1"

and this to their crate root:

    #[macro_use] extern crate bitflags;

Due to the removal of a public macro, this is a:

[breaking-change]
2015-01-17 10:51:07 -05:00
..
cfg rollup merge of #20985: vhbit/ios-install 2015-01-15 14:11:29 -08:00
clean.mk debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled. 2014-12-30 17:26:13 +01:00
crates.mk std: Move the bitflags! macro to a gated crate 2015-01-17 10:51:07 -05:00
ctags.mk Fix make TAGS.emacs. 2014-12-16 17:08:49 +01:00
debuggers.mk debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled. 2014-12-30 17:26:13 +01:00
dist.mk mk: Add rustbook to source dist 2015-01-08 17:03:40 -08:00
docs.mk Ensure that the book is built after the doc/ directory. 2015-01-09 20:26:31 +11:00
grammar.mk Remove deprecated functionality 2015-01-03 23:43:57 -08:00
host.mk
install.mk Fix make install dependencies 2015-01-03 09:49:51 +01:00
llvm.mk Don't use the same llvmdeps.rs for every host. 2014-11-25 17:28:49 -06:00
main.mk rollup merge of #21151: brson/beta 2015-01-15 14:11:56 -08:00
perf.mk
platform.mk powerpc: Use toolchain assembler on power 2015-01-11 21:14:30 -08:00
prepare.mk iOS: fixed install phase 2015-01-12 10:09:47 +02:00
reconfig.mk
rt.mk mk: Build jemalloc with -ffunction-sections 2014-12-24 20:20:01 -08:00
rustllvm.mk Add LLVM ExecutionEngine API 2014-12-11 15:33:27 -07:00
snap.mk
stage0.mk
target.mk mk: Use host llvm linkage paths, not target ones 2014-11-30 00:01:19 -08:00
tests.mk Fix dead links in the guide and reorganize 2015-01-08 10:27:03 -08:00
util.mk