Skip to content

Commit

Permalink
doc: document remap matching behaviour in rustc flags
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Dec 10, 2022
1 parent b12b836 commit 952bf87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/rustc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ replacement is purely textual, with no consideration of the current system's
pathname syntax. For example `--remap-path-prefix foo=bar` will match
`foo/lib.rs` but not `./foo/lib.rs`.

When multiple remappings are given and several of them match, the **last**
matching one is applied.

<a id="option-json"></a>
## `--json`: configure json messages printed by the compiler

Expand Down

0 comments on commit 952bf87

Please sign in to comment.