Build dist-x86_64-unknown-linux-musl releases

This commit is contained in:
andylizi 2021-02-13 16:39:02 +08:00
parent 935830d05b
commit 726f9e3163
No known key found for this signature in database
GPG key ID: 9429B030E974305F
2 changed files with 34 additions and 2 deletions

View file

@ -59,7 +59,7 @@ fn dist_client(version: &str, release_tag: &str) -> Result<()> {
fn dist_server() -> Result<()> {
let target = get_target();
if target.contains("-linux-gnu") {
if target.contains("-linux-gnu") || target.contains("-linux-musl") {
env::set_var("CC", "clang");
}