diff options
| author | Alexis (Poliorcetics) Bourget <alexis.bourget@gmail.com> | 2022-12-10 16:04:00 +0100 |
|---|---|---|
| committer | Alexis (Poliorcetics) Bourget <alexis.bourget@gmail.com> | 2022-12-10 16:04:00 +0100 |
| commit | 952bf87da1f817c767d61d01a365796b07c71fc4 (patch) | |
| tree | 4f91aa616e6e340a7744b2ed6bc197bae4246fb9 | |
| parent | b12b83674f310b85f49ba799e51f9b9f1824870c (diff) | |
| download | rust-952bf87da1f817c767d61d01a365796b07c71fc4.tar.gz rust-952bf87da1f817c767d61d01a365796b07c71fc4.zip | |
doc: document remap matching behaviour in rustc flags
| -rw-r--r-- | src/doc/rustc/src/command-line-arguments.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md index ef6eee75f1c..d4d26654ed1 100644 --- a/src/doc/rustc/src/command-line-arguments.md +++ b/src/doc/rustc/src/command-line-arguments.md @@ -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 |
