sudo apt-get install musl-tools
Use the cargo build command with the --target flag to specify the MUSL target:
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl
sudo apt-get install musl-tools
Use the cargo build command with the --target flag to specify the MUSL target:
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl