From 726f9e3163449e2b36a7dff7f09a2d21d71cfece Mon Sep 17 00:00:00 2001 From: andylizi Date: Sat, 13 Feb 2021 16:39:02 +0800 Subject: Build dist-x86_64-unknown-linux-musl releases --- xtask/src/dist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask') diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 6bc34106b..56bf9f99d 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -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"); } -- cgit v1.2.3