You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.