Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./x.py: cranelift source paths not mapped to repo root #80541

Open
matthiaskrgr opened this issue Dec 31, 2020 · 2 comments
Open

./x.py: cranelift source paths not mapped to repo root #80541

matthiaskrgr opened this issue Dec 31, 2020 · 2 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@matthiaskrgr
Copy link
Member

When ./x.py builds librustdoc for example, all paths are originating from the repo root:
--> src/librustdoc/passes/collect_intra_doc_links.rs:2191:16
This this is not the case for recently added cranelift but I guess it should be..?
--> src/intrinsics/mod.rs:827:14
This shouldn't this be --> compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs:827:14?

@matthiaskrgr matthiaskrgr added the C-bug Category: This is a bug. label Dec 31, 2020
@jyn514 jyn514 added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Dec 31, 2020
@jyn514 jyn514 changed the title ./x.py: cranlift source paths not mapped to repo root ./x.py: cranelift source paths not mapped to repo root Dec 31, 2020
@jyn514
Copy link
Member

jyn514 commented Jul 11, 2022

I think this happens because cg_clif is in a different workspace.

@jyn514
Copy link
Member

jyn514 commented Jun 25, 2023

cc rust-lang/rust-analyzer#8937

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants