-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-dist-componentsArea: dist components, e.g. `rustc-dev`, `rustc-src`, etc.Area: dist components, e.g. `rustc-dev`, `rustc-src`, etc.C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
Trying to load the rustc-dev packages with cargo leads to an error:
Updating crates.io index
error: failed to get `literal-escaper` as a dependency of package `rustc_ast v0.0.0 (/home/r/.rustup/toolchains/miri/lib/rustlib/rustc-src/rust/compiler/rustc_ast)`
... which satisfies path dependency `rustc_ast` of package `rustc_codegen_ssa v0.0.0 (/home/r/.rustup/toolchains/miri/lib/rustlib/rustc-src/rust/compiler/rustc_codegen_ssa)`
... which satisfies path dependency `rustc_codegen_ssa` of package `rustc-main v0.0.0 (/home/r/.rustup/toolchains/miri/lib/rustlib/rustc-src/rust/compiler/rustc)`
Caused by:
failed to load source for dependency `literal-escaper`
Caused by:
Unable to update /home/r/.rustup/toolchains/miri/lib/rustlib/rustc-src/rust/library/literal-escaper
Caused by:
failed to read `/home/r/.rustup/toolchains/miri/lib/rustlib/rustc-src/rust/library/literal-escaper/Cargo.toml`
Caused by:
No such file or directory (os error 2)
This is caused by #136355: compiler
crates cannot have path dependencies outside the compiler
folder.
Metadata
Metadata
Assignees
Labels
A-dist-componentsArea: dist components, e.g. `rustc-dev`, `rustc-src`, etc.Area: dist components, e.g. `rustc-dev`, `rustc-src`, etc.C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)