Skip to content

Pants doesn't build out of the box on arm64/alpine #23243

@sureshjoshi

Description

@sureshjoshi

Right now, psutil is on an old version without musl wheels (7.2.0 adds them), and hdrhistogram doesn't have them.

hdrhistogram still tries to build on my machine using musl-clang which isn't available, even after installing clang. So, need to dig in whether I'm missing some flags, env vars, an alias, or what. I'd rather not have to build clang from scratch.

error: cannot produce cdylib for `engine v0.0.1 (pants/src/rust/engine)` as the target `aarch64-unknown-linux-musl` does not support these crate types

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions