File tree 1 file changed +1
-9
lines changed 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,7 @@ fn dist_server() -> Result<()> {
63
63
env:: set_var ( "CC" , "clang" ) ;
64
64
}
65
65
66
- let toolchain = toolchain ( & target) ;
67
- cmd ! ( "cargo +{toolchain} build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target} --release" ) . run ( ) ?;
66
+ cmd ! ( "cargo build --manifest-path ./crates/rust-analyzer/Cargo.toml --bin rust-analyzer --target {target} --release" ) . run ( ) ?;
68
67
69
68
let suffix = exe_suffix ( & target) ;
70
69
let src =
@@ -118,13 +117,6 @@ fn exe_suffix(target: &str) -> String {
118
117
}
119
118
}
120
119
121
- fn toolchain ( target : & str ) -> String {
122
- match target {
123
- "aarch64-apple-darwin" => "beta" . to_string ( ) ,
124
- _ => "stable" . to_string ( ) ,
125
- }
126
- }
127
-
128
120
fn gzip ( src_path : & Path , dest_path : & Path ) -> Result < ( ) > {
129
121
let mut encoder = GzEncoder :: new ( File :: create ( dest_path) ?, Compression :: best ( ) ) ;
130
122
let mut input = io:: BufReader :: new ( File :: open ( src_path) ?) ;
You can’t perform that action at this time.
0 commit comments