Migrate to 2021

This commit is contained in:
Mark Rousskov 2021-09-19 12:49:55 -04:00
parent 45b989a033
commit c746be2219
87 changed files with 87 additions and 87 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "rustc-main"
version = "0.0.0"
edition = '2018'
edition = "2021"
[dependencies]
rustc_driver = { path = "../rustc_driver" }

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_apfloat"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
bitflags = "1.2.1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_arena"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
rustc_data_structures = { path = "../rustc_data_structures" }

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_ast"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_ast_lowering"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_ast_passes"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
itertools = "0.9"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_ast_pretty"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_attr"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_borrowck"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_builtin_macros"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_cranelift"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
crate-type = ["dylib"]

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_llvm"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
test = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_codegen_ssa"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
test = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_const_eval"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_data_structures"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_driver"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
crate-type = ["dylib"]

View File

@ -1,4 +1,4 @@
[package]
name = "rustc_error_codes"
version = "0.0.0"
edition = "2018"
edition = "2021"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_errors"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_expand"
version = "0.0.0"
edition = "2018"
edition = "2021"
build = false
[lib]

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_feature"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,4 +1,4 @@
[package]
name = "rustc_fs_util"
version = "0.0.0"
edition = "2018"
edition = "2021"

View File

@ -1,4 +1,4 @@
[package]
name = "rustc_graphviz"
version = "0.0.0"
edition = "2018"
edition = "2021"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_hir"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_hir_pretty"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_incremental"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_index"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_infer"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_interface"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -2,7 +2,7 @@
name = "rustc_lexer"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
repository = "https://github.com/rust-lang/rust/"
description = """

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_lint"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
if_chain = "1.0"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_lint_defs"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
rustc_ast = { path = "../rustc_ast" }

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_llvm"
version = "0.0.0"
edition = "2018"
edition = "2021"
[features]
static-libstdcpp = []

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_macros"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
proc-macro = true

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_metadata"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_middle"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_mir_build"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_mir_dataflow"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_mir_transform"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "coverage_test_macros"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
proc-macro = true

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_monomorphize"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_parse"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_parse_format"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
rustc_span = { path = "../rustc_span" }

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_passes"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
tracing = "0.1"

View File

@ -2,7 +2,7 @@
name = "rustc_plugin_impl"
version = "0.0.0"
build = false
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_privacy"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
rustc_middle = { path = "../rustc_middle" }

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_query_impl"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_query_system"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_resolve"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
test = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_save_analysis"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
tracing = "0.1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_serialize"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
indexmap = "1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_session"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
getopts = "0.2"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_span"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_symbol_mangling"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_target"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
bitflags = "1.2.1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_trait_selection"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_traits"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
tracing = "0.1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_ty_utils"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
tracing = "0.1"

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_type_ir"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
doctest = false

View File

@ -1,7 +1,7 @@
[package]
name = "rustc_typeck"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
test = false

View File

@ -1,7 +1,7 @@
[package]
name = "bootstrap"
version = "0.0.0"
edition = "2018"
edition = "2021"
build = "build.rs"
[lib]

View File

@ -1,7 +1,7 @@
[package]
name = "build_helper"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "lib.rs"

View File

@ -1,7 +1,7 @@
[package]
name = "test-float-parse"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[workspace]

View File

@ -1,7 +1,7 @@
[package]
name = "rustdoc"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
path = "lib.rs"

View File

@ -1,7 +1,7 @@
[package]
name = "rustdoc-json-types"
version = "0.1.0"
edition = "2018"
edition = "2021"
[lib]
path = "lib.rs"

View File

@ -1,7 +1,7 @@
[package]
name = "build-manifest"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]
toml = "0.5"

View File

@ -1,7 +1,7 @@
[package]
name = "bump-stage0"
version = "0.1.0"
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,7 +1,7 @@
[package]
name = "cargotest2"
version = "0.1.0"
edition = "2018"
edition = "2021"
[[bin]]
name = "cargotest"

View File

@ -1,7 +1,7 @@
[package]
name = "compiletest"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
colored = "2"

View File

@ -1,7 +1,7 @@
[package]
name = "error_index_generator"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]
rustdoc = { path = "../../librustdoc" }

View File

@ -1,7 +1,7 @@
[package]
name = "expand-yaml-anchors"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]
yaml-rust = "0.4.3"

View File

@ -1,7 +1,7 @@
[package]
name = "html-checker"
version = "0.1.0"
edition = "2018"
edition = "2021"
[[bin]]
name = "html-checker"

View File

@ -1,7 +1,7 @@
[package]
name = "jsondocck"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]
jsonpath_lib = "0.2"

View File

@ -1,7 +1,7 @@
[package]
name = "linkchecker"
version = "0.1.0"
edition = "2018"
edition = "2021"
[[bin]]
name = "linkchecker"

View File

@ -1,7 +1,7 @@
[package]
name = "lint-docs"
version = "0.1.0"
edition = "2018"
edition = "2021"
description = "A script to extract the lint documentation for the rustc book."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "remote-test-client"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "remote-test-server"
version = "0.1.0"
edition = "2018"
edition = "2021"
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "rust-demangler"
version = "0.0.1"
edition = "2018"
edition = "2021"
[dependencies]
regex = "1.0"

View File

@ -2,7 +2,7 @@
name = "rustbook"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
[dependencies]
clap = "2.25.0"

View File

@ -5,7 +5,7 @@ license = 'MIT OR Apache-2.0'
description = """
Hack for the compiler's own build system
"""
edition = "2018"
edition = "2021"
[lib]
path = "lib.rs"

View File

@ -1,7 +1,7 @@
[package]
name = "rustdoc-themes"
version = "0.1.0"
edition = "2018"
edition = "2021"
[[bin]]
name = "rustdoc-themes"

View File

@ -1,7 +1,7 @@
[package]
name = "rustdoc-tool"
version = "0.0.0"
edition = "2018"
edition = "2021"
# Cargo adds a number of paths to the dylib search path on windows, which results in
# the wrong rustdoc being executed. To avoid the conflicting rustdocs, we name the "tool"

View File

@ -8,7 +8,7 @@ readme = "README.md"
license = "Apache-2.0/MIT"
build = "build.rs"
categories = ["development-tools"]
edition = "2018"
edition = "2021"
[[bin]]
name = "rustfmt"

View File

@ -1,7 +1,7 @@
[package]
name = "tidy"
version = "0.1.0"
edition = "2018"
edition = "2021"
autobins = false
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "tier-check"
version = "0.1.0"
edition = "2018"
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "unicode-bdd"
version = "0.1.0"
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "unstable-book-gen"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
[dependencies]
tidy = { path = "../tidy" }

View File

@ -2,5 +2,5 @@
name = "x"
version = "0.1.0"
description = "Run x.py slightly more conveniently"
edition = "2018"
edition = "2021"
publish = false