mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
14aa12fcc2
This gives compiler maintainers a better degree of control over how the version gets parsed and is a good way to ensure that there are no changes of behaviour in the future. Also, issue a warning if the version is invalid instead of erroring so that we stay forwards compatible with possible future changes of the versioning scheme. Last, this improves the present test a little.
21 lines
610 B
TOML
21 lines
610 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc_attr"
|
|
version = "0.0.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
|
|
rustc_serialize = { path = "../rustc_serialize" }
|
|
rustc_errors = { path = "../rustc_errors" }
|
|
rustc_span = { path = "../rustc_span" }
|
|
rustc_data_structures = { path = "../rustc_data_structures" }
|
|
rustc_feature = { path = "../rustc_feature" }
|
|
rustc_lexer = { path = "../rustc_lexer" }
|
|
rustc_macros = { path = "../rustc_macros" }
|
|
rustc_session = { path = "../rustc_session" }
|
|
rustc_ast = { path = "../rustc_ast" }
|