File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 39
39
with :
40
40
toolchain : stable
41
41
profile : minimal
42
- target : x86_64-unknown-linux-musl
43
42
override : true
44
43
45
44
- name : Install Nodejs
Original file line number Diff line number Diff line change @@ -50,21 +50,19 @@ fn dist_server(nightly: bool) -> Result<()> {
50
50
if cfg ! ( target_os = "linux" ) {
51
51
std:: env:: set_var ( "CC" , "clang" ) ;
52
52
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"
56
54
// We'd want to add, but that requires setting the right linker somehow
57
55
// --features=jemalloc
58
56
) ?;
59
57
if !nightly {
60
- run ! ( "strip ./target/x86_64-unknown-linux-musl/ release/rust-analyzer" ) ?;
58
+ run ! ( "strip ./target/release/rust-analyzer" ) ?;
61
59
}
62
60
} else {
63
61
run ! ( "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --release" ) ?;
64
62
}
65
63
66
64
let ( src, dst) = if cfg ! ( target_os = "linux" ) {
67
- ( "./target/x86_64-unknown-linux-musl/ release/rust-analyzer" , "./dist/rust-analyzer-linux" )
65
+ ( "./target/release/rust-analyzer" , "./dist/rust-analyzer-linux" )
68
66
} else if cfg ! ( target_os = "windows" ) {
69
67
( "./target/release/rust-analyzer.exe" , "./dist/rust-analyzer-windows.exe" )
70
68
} else if cfg ! ( target_os = "macos" ) {
You can’t perform that action at this time.
0 commit comments