-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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
The linker needs to be passed the --sysroot option so it can find libraries when cross compiling.
I tried simply modifying rustc to pass the option on to the linker, but --sysroot is used during the bootstrap of rustc without an actual sysroot (i.e. there is only rust libraries, not C, so linking will fail).
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.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)