vscode-rust icon indicating copy to clipboard operation
vscode-rust copied to clipboard

Take RUSTFLAGS from .cargo/config

Open jbrd opened this issue 5 years ago • 1 comments

If you're working on a project that has a .cargo/config file, and that config file happens to set RUSTFLAGS, then currently, the vscode extension will compile the project with a different set of RUSTFLAGS to the rest of your project. The workaround currently, is to set rust.rustflags in settings.json, but it would be nicer if the extension could pick up this setting from .cargo/config automatically

jbrd avatar Jul 21 '20 07:07 jbrd

I agree with you.

tan-wei avatar Feb 06 '21 03:02 tan-wei