Skip to content

Troubles to get started #137

@KoltesDigital

Description

@KoltesDigital

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions