mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
ffafcd8819
This involves lots of breaking changes. There are two big changes that force changes. The first is that the bitflag types now don't automatically implement normal derive traits, so we need to derive them manually. Additionally, bitflags now have a hidden inner type by default, which breaks our custom derives. The bitflags docs recommend using the impl form in these cases, which I did.
31 lines
1002 B
TOML
31 lines
1002 B
TOML
[package]
|
|
name = "rustc_abi"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# tidy-alphabetical-start
|
|
bitflags = "2.4.1"
|
|
rand = { version = "0.8.4", default-features = false, optional = true }
|
|
rand_xoshiro = { version = "0.6.0", optional = true }
|
|
rustc_data_structures = { path = "../rustc_data_structures", optional = true }
|
|
rustc_index = { path = "../rustc_index", default-features = false }
|
|
rustc_macros = { path = "../rustc_macros", optional = true }
|
|
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
|
tracing = "0.1"
|
|
# tidy-alphabetical-end
|
|
|
|
[features]
|
|
# tidy-alphabetical-start
|
|
default = ["nightly", "randomize"]
|
|
# rust-analyzer depends on this crate and we therefore require it to built on a stable toolchain
|
|
# without depending on rustc_data_structures, rustc_macros and rustc_serialize
|
|
nightly = [
|
|
"rustc_data_structures",
|
|
"rustc_index/nightly",
|
|
"rustc_macros",
|
|
"rustc_serialize",
|
|
]
|
|
randomize = ["rand", "rand_xoshiro", "nightly"]
|
|
# tidy-alphabetical-end
|