dbdd60e6d7
In LLVM 4.0, this enum becomes an actual type-safe enum, which breaks all of the interfaces. Introduce our own copy of the bitflags that we can then safely convert to the LLVM one.
21 lines
357 B
TOML
21 lines
357 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc_llvm"
|
|
version = "0.0.0"
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
name = "rustc_llvm"
|
|
path = "lib.rs"
|
|
crate-type = ["dylib"]
|
|
|
|
[features]
|
|
static-libstdcpp = []
|
|
|
|
[dependencies]
|
|
rustc_bitflags = { path = "../librustc_bitflags" }
|
|
|
|
[build-dependencies]
|
|
build_helper = { path = "../build_helper" }
|
|
gcc = "0.3.27"
|