mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
84646e9d67
Introduce -Z remap-cwd-prefix switch
This switch remaps any absolute paths rooted under the current
working directory to a new value. This includes remapping the
debug info in `DW_AT_comp_dir` and `DW_AT_decl_file`.
Importantly, this flag does not require passing the current working
directory to the compiler, such that the command line can be
run on any machine (with the same input files) and produce the
same results. This is critical property for debugging compiler
issues that crop up on remote machines.
This is based on adetaylor's
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |