Skip to content

symlinking is not working as expected on x build #110625

Closed
@onur-ozkan

Description

@onur-ozkan

Because of the early return here:

rust/src/bootstrap/compile.rs

Lines 1331 to 1335 in 3d7a091

return INTERNER.intern_path(sysroot);
}
// Symlink the source root into the same location inside the sysroot,
// where `rust-src` component would go (`$sysroot/lib/rustlib/src/rust`),

symlinking phases are bypassed which causes tools like miri can't find rust-src.

Metadata

Metadata

Assignees

Labels

T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions