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 2d08c73 commit 4d3772bCopy full SHA for 4d3772b
src/doc/src/reference/config.md
@@ -349,6 +349,10 @@ Without `--target`, the flags will be passed to all compiler invocations
349
you have args that you do not want to pass to build scripts or proc macros and
350
are building for the host, pass `--target` with the host triple.
351
352
+It is not recommended to pass in flags that Cargo itself usually manages. For
353
+example, the flags driven by [profiles] are best handled by setting the
354
+appropriate profile setting.
355
+
356
> **Caution**: Due to the low-level nature of passing flags directly to the
357
> compiler, this may cause a conflict with future versions of Cargo which may
358
> issue the same or similar flags on its own which may interfere with the
0 commit comments