Skip to content

Enhancement: add missing cross-compilation targets (armv7 hardfloat, aarch64 musl) #410

@chloe41427

Description

@chloe41427

Missing Targets

The current release workflow builds for 6 targets, but several common platforms are missing:

Rust Triple Platform Use Case
armv7-unknown-linux-gnueabihf linuxarm32hf Raspberry Pi 2/3 (Raspbian 32-bit)
aarch64-unknown-linux-musl linuxarm64musl Alpine Linux on ARM64
armv7-unknown-linux-musleabihf linuxarm32hfmusl Alpine Linux on 32-bit ARM

All three are Rust Tier 2 targets with full std library support and are handled by taiki-e/setup-cross-toolchain-action.

Related Issues

What needs to change

  1. Add new matrix entries to the release.yml build workflow
  2. Add platform replacements to jreleaser.yml
  3. Add artifact entries to the distributions section of jreleaser.yml
  4. Add MongoDB update entries to bin/release-binary.sh for the new platform identifiers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions