Skip to content

Cross compiling from windows to linux-musl #33608

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...).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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