Skip to content

Commit 3ae2b71

Browse files
committed
Use x86_64-unknown-linux-gnu for releases
1 parent 5671bac commit 3ae2b71

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
with:
4040
toolchain: stable
4141
profile: minimal
42-
target: x86_64-unknown-linux-musl
4342
override: true
4443

4544
- name: Install Nodejs

xtask/src/dist.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ fn dist_server(nightly: bool) -> Result<()> {
5050
if cfg!(target_os = "linux") {
5151
std::env::set_var("CC", "clang");
5252
run!(
53-
"cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release
54-
--target x86_64-unknown-linux-musl
55-
"
53+
"cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release"
5654
// We'd want to add, but that requires setting the right linker somehow
5755
// --features=jemalloc
5856
)?;
5957
if !nightly {
60-
run!("strip ./target/x86_64-unknown-linux-musl/release/rust-analyzer")?;
58+
run!("strip ./target/release/rust-analyzer")?;
6159
}
6260
} else {
6361
run!("cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release")?;

0 commit comments

Comments
 (0)