Building a static rustc



What’s the recipe for building a static rustc binary similar to the stage0 snapshot?



I am also interested in this. Does anyone know?


Haven’t tried it yet but it seems it’s provided in mk/, e.g:

make snap-stage3-H-i686-unknown-linux-gnu

EDIT: Yes, that was it and --enable-llvm-static-stdcpp comes in rather handy to get rid of dependency.