Skip to content

Cross compiling from windows to linux-musl #33608

Closed
@Diggsey

Description

@Diggsey

It works! Almost.

rustc passes an additional library to the linker -lutils, which doesn't exist in the musl std package, and doesn't seem to be required. With that library removed, cross compiling to linux works out of the box with rustup (assuming you can obtain an elf linker...).

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