Skip to content

Commit

Permalink
Rollup merge of rust-lang#105532 - poliorcetics:document-remap-order,…
Browse files Browse the repository at this point in the history
… r=JohnTitor

Document behaviour of `--remap-path-prefix` with several matches
  • Loading branch information
Dylan-DPC authored Dec 11, 2022
2 parents 378b1db + 952bf87 commit d1f544d
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 d1f544d

Please sign in to comment.