rust/compiler/rustc_target/Cargo.toml
Nilstrieb ffafcd8819 Update to bitflags 2 in the compiler
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.
2023-12-30 18:17:28 +01:00

27 lines
703 B
TOML

[package]
name = "rustc_target"
version = "0.0.0"
edition = "2021"
[dependencies]
# tidy-alphabetical-start
bitflags = "2.4.1"
rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_feature = { path = "../rustc_feature" }
rustc_fs_util = { path = "../rustc_fs_util" }
rustc_index = { path = "../rustc_index" }
rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
serde_json = "1.0.59"
tracing = "0.1"
# tidy-alphabetical-end
[dependencies.object]
# tidy-alphabetical-start
default-features = false
features = ["elf", "macho"]
version = "0.32.0"
# tidy-alphabetical-end