You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #11956 - fee1-dead:master, r=flodiebold
feat: allow customizing the command for running build scripts
I have tested this locally and it fixed#9201 with some small changes on the compiler side with suggestions from #9201 (comment).
I have also added an environment variable `IS_RA_BUILDSCRIPT_CHECK` for crates to detect that it is a check for buildscripts, and allows defaulting to bogus values for expected environment variables.
Copy file name to clipboardExpand all lines: editors/code/package.json
+11
Original file line number
Diff line number
Diff line change
@@ -476,6 +476,17 @@
476
476
"default": true,
477
477
"type": "boolean"
478
478
},
479
+
"rust-analyzer.cargo.runBuildScriptsCommand": {
480
+
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses to\nrun build scripts and build procedural macros. The command should\ninclude `--message-format=json` or a similar option.",
0 commit comments