Skip to content

Commit 8b304a7

Browse files
committed
Remove ETXTBUSY check, we don't overwrite binaries
1 parent 3835b37 commit 8b304a7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

editors/code/src/main.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ async function tryActivate(context: vscode.ExtensionContext) {
3030
const serverPath = await bootstrap(context, config, state).catch(err => {
3131
let message = "bootstrap error. ";
3232

33-
if (err.code === "EBUSY" || err.code === "ETXTBSY" || err.code === "EPERM") {
34-
message += "Other vscode windows might be using rust-analyzer, ";
35-
message += "you should close them and reload this window to retry. ";
36-
}
37-
3833
message += 'See the logs in "OUTPUT > Rust Analyzer Client" (should open automatically). ';
3934
message += 'To enable verbose logs use { "rust-analyzer.trace.extension": true }';
4035

0 commit comments

Comments
 (0)