2022-11-06 15:06:11 -06:00
|
|
|
[package]
|
|
|
|
name = "rustc_abi"
|
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-start
|
2023-12-30 10:09:02 -06:00
|
|
|
bitflags = "2.4.1"
|
2022-11-06 15:06:11 -06:00
|
|
|
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 }
|
2024-10-30 22:37:51 -05:00
|
|
|
rustc_feature = { path = "../rustc_feature", optional = true }
|
2022-11-06 15:06:11 -06:00
|
|
|
rustc_index = { path = "../rustc_index", default-features = false }
|
|
|
|
rustc_macros = { path = "../rustc_macros", optional = true }
|
|
|
|
rustc_serialize = { path = "../rustc_serialize", optional = true }
|
2024-10-30 22:37:51 -05:00
|
|
|
rustc_span = { path = "../rustc_span", optional = true }
|
2023-10-19 21:37:29 -05:00
|
|
|
tracing = "0.1"
|
|
|
|
# tidy-alphabetical-end
|
2022-11-06 15:06:11 -06:00
|
|
|
|
|
|
|
[features]
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-start
|
2022-11-06 15:06:11 -06:00
|
|
|
default = ["nightly", "randomize"]
|
2023-09-29 11:02:59 -05:00
|
|
|
# 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
|
2022-11-06 15:06:11 -06:00
|
|
|
nightly = [
|
2024-07-15 11:40:06 -05:00
|
|
|
"dep:rustc_data_structures",
|
2024-10-30 22:37:51 -05:00
|
|
|
"dep:rustc_feature",
|
2024-07-15 11:40:06 -05:00
|
|
|
"dep:rustc_macros",
|
|
|
|
"dep:rustc_serialize",
|
2024-10-30 22:37:51 -05:00
|
|
|
"dep:rustc_span",
|
2022-11-06 15:06:11 -06:00
|
|
|
"rustc_index/nightly",
|
|
|
|
]
|
2024-07-15 11:40:06 -05:00
|
|
|
randomize = ["dep:rand", "dep:rand_xoshiro", "nightly"]
|
2023-10-19 21:37:29 -05:00
|
|
|
# tidy-alphabetical-end
|