mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Auto merge of #15616 - HKalbasi:rustc-deps, r=HKalbasi
Switch to in-tree rustc dependencies with a cfg flag We can use this flag to detect and prevent breakages in rustc CI. (see #14846 and #15569) ~The `IN_RUSTC_REPOSITORY` is just a placeholder. Is there any existing cfg flag that rustc CI sets?~
This commit is contained in:
commit
22b18b9f77
18 changed files with 118 additions and 31 deletions
|
@ -57,6 +57,7 @@ flycheck.workspace = true
|
|||
hir-def.workspace = true
|
||||
hir-ty.workspace = true
|
||||
hir.workspace = true
|
||||
rustc-dependencies.workspace = true
|
||||
ide-db.workspace = true
|
||||
# This should only be used in CLI
|
||||
ide-ssr.workspace = true
|
||||
|
@ -67,6 +68,7 @@ profile.workspace = true
|
|||
project-model.workspace = true
|
||||
stdx.workspace = true
|
||||
syntax.workspace = true
|
||||
parser.workspace = true
|
||||
toolchain.workspace = true
|
||||
vfs-notify.workspace = true
|
||||
vfs.workspace = true
|
||||
|
@ -89,4 +91,12 @@ mbe.workspace = true
|
|||
jemalloc = ["jemallocator", "profile/jemalloc"]
|
||||
force-always-assert = ["always-assert/force"]
|
||||
sysroot-abi = []
|
||||
in-rust-tree = ["sysroot-abi", "ide/in-rust-tree", "syntax/in-rust-tree"]
|
||||
in-rust-tree = [
|
||||
"sysroot-abi",
|
||||
"ide/in-rust-tree",
|
||||
"syntax/in-rust-tree",
|
||||
"parser/in-rust-tree",
|
||||
"rustc-dependencies/in-rust-tree",
|
||||
"hir-def/in-rust-tree",
|
||||
"hir-ty/in-rust-tree",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue