[workspace]
members = [
"src/bootstrap",
- "src/rustc",
- "src/librustc_codegen_llvm",
+ "compiler/rustc",
"library/std",
"library/test",
+ "src/rustdoc-json-types",
"src/tools/cargotest",
"src/tools/clippy",
"src/tools/compiletest",
"src/tools/error_index_generator",
"src/tools/linkchecker",
+ "src/tools/lint-docs",
"src/tools/rustbook",
"src/tools/unstable-book-gen",
"src/tools/tidy",
"src/tools/rust-installer",
"src/tools/rust-demangler",
"src/tools/cargo",
+ "src/tools/cargo/crates/credential/cargo-credential-1password",
+ "src/tools/cargo/crates/credential/cargo-credential-macos-keychain",
+ "src/tools/cargo/crates/credential/cargo-credential-wincred",
"src/tools/rustdoc",
"src/tools/rls",
"src/tools/rustfmt",
"src/tools/rustdoc-themes",
"src/tools/unicode-table-generator",
"src/tools/expand-yaml-anchors",
+ "src/tools/jsondocck",
]
+
exclude = [
"build",
+ "compiler/rustc_codegen_cranelift",
# HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
"obj",
+ # The `x` binary is a thin wrapper that calls `x.py`, which initializes
+ # submodules, before which workspace members cannot be invoked because
+ # not all `Cargo.toml` files are available, so we exclude the `x` binary,
+ # so it can be invoked before the current checkout is set up.
+ "src/tools/x",
]
[profile.release.package.compiler_builtins]
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
-# This crate's integration with libstd is a bit wonky, so we use a submodule
-# instead of a crates.io dependency. Make sure everything else in the repo is
-# also using the submodule, however, so we can avoid duplicate copies of the
-# source code for this crate.
-backtrace = { path = "library/backtrace" }
-
[patch."https://github.com/rust-lang/rust-clippy"]
clippy_lints = { path = "src/tools/clippy/clippy_lints" }