Skip to content

Building with cargo-xwin fails to link: lld-link: error: undefined symbol: __movsb #104

@s1341

Description

@s1341

When trying to build for windows on a linux host, mimalloc fails to link with the following error:

  = note: lld-link: error: undefined symbol: __movsb
          >>> referenced by /src/mimalloc_rust/libmimalloc-sys/c_src/mimalloc/include/mimalloc/internal.h:926
          >>>               liblibmimalloc_sys-087f9fdc909808e0.rlib(static.o):(_mi_memcpy)

I'm using cargo-xwin to cross compile.

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