<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_cranelift/src/debuginfo, branch 1.59.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.59.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.59.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-12-30T13:53:41+00:00</updated>
<entry>
<title>Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30</title>
<updated>2021-12-30T13:53:41+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-12-30T13:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8e6d5b04d844a8b540a772dec4f6a233f307c35'/>
<id>urn:sha1:a8e6d5b04d844a8b540a772dec4f6a233f307c35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20</title>
<updated>2021-12-20T17:56:35+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-12-20T17:56:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3426a730ffc78bea3fa45593a383647c0774fe57'/>
<id>urn:sha1:3426a730ffc78bea3fa45593a383647c0774fe57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19</title>
<updated>2021-09-19T11:56:58+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-09-19T11:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=86f9bcfb8e5863fe51699dc9edebe76fb97078d2'/>
<id>urn:sha1:86f9bcfb8e5863fe51699dc9edebe76fb97078d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #88363 - michaelwoerister:remapped-diagnostics, r=estebank</title>
<updated>2021-09-03T00:23:10+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-09-03T00:23:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97f2698484c2d668b2f356a6c2252e5f08472234'/>
<id>urn:sha1:97f2698484c2d668b2f356a6c2252e5f08472234</id>
<content type='text'>
Path remapping: Make behavior of diagnostics output dependent on presence of --remap-path-prefix.

This PR fixes a regression (#87745) with `--remap-path-prefix` where the flag stopped causing diagnostic messages to be remapped as well. The regression was introduced in https://github.com/rust-lang/rust/pull/83813 where we erroneously assumed that remapping of diagnostic messages was not desired anymore (because #70642 partially undid that functionality with nobody objecting).

The issue is fixed by making `--remap-path-prefix` remap diagnostic messages again, including for paths that have been remapped in upstream crates (e.g. the standard library). This means that "sysroot-localization" (implemented in #70642) is also disabled if `rustc` is invoked with `--remap-path-prefix`. The assumption is that once someone starts explicitly remapping paths they also don't want paths to their local Rust installation in their build output.

In the future we might want to give more fine-grained control over this behavior via compiler flags (see https://github.com/rust-lang/rfcs/pull/3127 for a related RFC). For now this PR is intended as a regression fix.

This PR is an alternative to https://github.com/rust-lang/rust/pull/88191, which makes diagnostic messages be remapped unconditionally. That approach, however, would effectively revert #70642.

Fixes https://github.com/rust-lang/rust/issues/87745.

cc `@cbeuw`
r? `@ghost`
</content>
</entry>
<entry>
<title>rustc_target: `TyAndLayout::field` should never error.</title>
<updated>2021-08-29T21:44:09+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>eddyb@lyken.rs</email>
</author>
<published>2021-08-25T15:05:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e6d126b7d69281072f16dcc3cfff140e8947c58'/>
<id>urn:sha1:8e6d126b7d69281072f16dcc3cfff140e8947c58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Path remapping: Make behavior of diagnostics output dependent on presence of --remap-path-prefix.</title>
<updated>2021-08-27T09:50:44+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2021-08-26T10:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af1b65cb18d5fa1358d1ae7a8ed3b1f7c635b6b5'/>
<id>urn:sha1:af1b65cb18d5fa1358d1ae7a8ed3b1f7c635b6b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update rustc_codegen_cratelift for working_dir change</title>
<updated>2021-08-15T20:17:37+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2021-08-12T21:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=179fd38bb593896a8c1cb15bd50faebecd9f601a'/>
<id>urn:sha1:179fd38bb593896a8c1cb15bd50faebecd9f601a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06</title>
<updated>2021-08-06T14:26:56+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-08-06T14:26:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=279f486960edc43246ea413970f587a82365cca7'/>
<id>urn:sha1:279f486960edc43246ea413970f587a82365cca7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07</title>
<updated>2021-07-07T09:14:20+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-07-07T09:14:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d531f3d6eef9eef1a699b3ffb6dce4e911690dca'/>
<id>urn:sha1:d531f3d6eef9eef1a699b3ffb6dce4e911690dca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use local and remapped paths where appropriate</title>
<updated>2021-05-05T14:31:28+00:00</updated>
<author>
<name>Andy Wang</name>
<email>cbeuw.andy@gmail.com</email>
</author>
<published>2021-04-19T22:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5417b45c2676dcd396f007bd89ed0cd55d085768'/>
<id>urn:sha1:5417b45c2676dcd396f007bd89ed0cd55d085768</id>
<content type='text'>
</content>
</entry>
</feed>
