Skip to content

Cross compile build failure #766

Open
@Yuri6037

Description

@Yuri6037

When attempting to cross compile from aarch64-unknown-linux-gnu to x86_64-unknown-linux-musl this crate chooses a completely wrong compiler name: musl-gcc. The must-gcc compiler cannot be used to build x86_64 under an aarch64 machine.

Why is cc-rs not using RUSTC_LINKER in this case which points to a valid compiler/linker for the target platform?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions