diff --git a/extension.js b/extension.js index 6728474..1a55d69 100644 --- a/extension.js +++ b/extension.js @@ -7,9 +7,13 @@ let client; function activate(context) { try { const serverOptions = { - path: context.extensionPath, command: "cargo", - args: ["run", "--manifest-path", context.extensionPath + "/Cargo.toml"], + args: [ + "run", + "--release", + "--manifest-path", + context.extensionPath + "/Cargo.toml", + ], }; const clientOptions = { documentSelector: [