I want to build rustc for windows from wsl.
I have set mingw
in wsl, in config.toml
set:
[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc".
linker exists:
which x86_64-w64-mingw32-gcc
/usr/bin/x86_64-w64-mingw32-gcc
I run ./x build --target x86_64-pc-windows-gnu
.
and all I get is:
build/x86_64-pc-windows-gnu
└─── native
└─── rtstartup
├─── rsbegin.o
└─── rsend.o