Closed
Description
There are use-cases where one might want to build rustc
from source without having the build process use the default system gcc/glibc.
Right now, I can't see a way to achieve this with a flag. One possible solution is to create a wrapper script for the stage0 rustc which calls the real stage0 rustc with --link-args
, --linker
and so forth.
The reason I don't like this is it essentially involves a prebuild/patch step - these are usually quite brittle and difficult to maintain.
A possible future solution might be to have some env var, STAGE0_FLAGS
or similar, which one could export before running make
.
/cc @cmr
Metadata
Metadata
Assignees
Labels
No labels