Skip to content

FR: allow target-arch of arm64 in addition of aarch64 in archive names #2126

@ilyagr

Description

@ilyagr

I'm having trouble setting up binstall for https://github.com/drdo/redu/releases because
their archives for ARM systems end with redu-0.2.12-darwin-arm64.bz2 while binstall expects redu-0.2.12-darwin-aarch64.bz2. The { target-arch }

I might be able to convince them to rename the archive, but still, it would be nice if binstall tried that automatically. Even internally, binstall often calls the architecture arm64.

I think I could work around this by setting up [package.metadata.binstall.overrides.XXXXXX] for each arm64 binary, but that seems annoying (though maybe).

A fancier, and not necessarily better, solution would be to allow conditionals in templates in https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md

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