We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00ccde commit 743b016Copy full SHA for 743b016
editors/code/src/toolchain.ts
@@ -133,7 +133,7 @@ export async function getRustcId(dir: string): Promise<string> {
133
134
// do not memoize the result because the toolchain may change between runs
135
const data = await execute(`${rustcPath} -V -v`, { cwd: dir });
136
- const rx = /commit-hash:\s(.*)$/m.compile();
+ const rx = /commit-hash:\s(.*)$/m;
137
138
return rx.exec(data)![1];
139
}
0 commit comments