Hi,
I'm basically trying to cross-compile Rust from a fresh Windows machine. I'm willing to try your ecosystem, but the paved way is slippy.
I'm making a new empty project, with your exact instructions, and also with the latest versions, both fail.
On Windows, linking fails with such errors:
clang++: error: no such file or directory: '/NOLOGO' ...
Well it seems Bazel talks to clang++ like it was MSVC's cl.
Moreover I'm surprised that the target is x86_64-pc-windows-msvc. But changing the ABI constraint to gnullvm results in No matching toolchains found.
On WSL, linking fails with this error:
ld.lld: error: unable to find library -lgcc_s
And I hardly believe the hermetic toolchain ships without its runfiles.
Am I missing something?
Thanks in advance.
Hi,
I'm basically trying to cross-compile Rust from a fresh Windows machine. I'm willing to try your ecosystem, but the paved way is slippy.
I'm making a new empty project, with your exact instructions, and also with the latest versions, both fail.
On Windows, linking fails with such errors:
clang++: error: no such file or directory: '/NOLOGO' ...Well it seems Bazel talks to clang++ like it was MSVC's cl.
Moreover I'm surprised that the target is
x86_64-pc-windows-msvc. But changing the ABI constraint tognullvmresults inNo matching toolchains found.On WSL, linking fails with this error:
ld.lld: error: unable to find library -lgcc_sAnd I hardly believe the hermetic toolchain ships without its runfiles.
Am I missing something?
Thanks in advance.