microsoft / microsoft/edit

provide a statically linked musl binary for Linux releases

Open
#889 2 comments 0 reactions 0 assignees View on GitHub
E-needs-discussion
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Maybe you guys can consider adding a statically linked musl build (like `x86_64-unknown-linux-musl`)?

Because right now the pre-compiled Linux binary is dynamically linked to glibc so distros like nixos/alpine/etc cannot use it without patches or work-arounds

so a static musl binary wraps all dependencies inside the executable, and making msedit 100% portable and running on any Linux distribution without external runtime requirements

Thanks if you can

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how the Rust project builds and packages its pre-compiled Linux releases, then identify the release entry points responsible for the current glibc-linked binary. Check how a musl target such as x86_64-unknown-linux-musl can be built and published. Done means a statically linked musl Linux binary is available for releases and works on distributions such as NixOS and Alpine.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.