<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_driver/src, branch 1.51.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.51.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.51.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-01-29T20:46:29+00:00</updated>
<entry>
<title>Indicate both start and end of pass RSS in time-passes output</title>
<updated>2021-01-29T20:46:29+00:00</updated>
<author>
<name>Tyson Nottingham</name>
<email>tgnottingham@gmail.com</email>
</author>
<published>2021-01-25T20:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=849dc1a20cbccb069677566b88ca7b7e8586c997'/>
<id>urn:sha1:849dc1a20cbccb069677566b88ca7b7e8586c997</id>
<content type='text'>
Previously, only the end of pass RSS was indicated. This could easily
lead one to believe that the change in RSS from one pass to the next was
attributable to the second pass, when in fact it occurred between the
end of the first pass and the start of the second.

Also, improve alignment of columns.
</content>
</entry>
<entry>
<title>Rollup merge of #80944 - LingMan:map_or, r=nagisa</title>
<updated>2021-01-15T09:26:14+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2021-01-15T09:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a584d874172b85d854f2e4d2a3256f7c23e3183a'/>
<id>urn:sha1:a584d874172b85d854f2e4d2a3256f7c23e3183a</id>
<content type='text'>
Use Option::map_or instead of `.map(..).unwrap_or(..)`

``@rustbot`` modify labels +C-cleanup +T-compiler
</content>
</entry>
<entry>
<title>Use Option::map_or instead of `.map(..).unwrap_or(..)`</title>
<updated>2021-01-14T18:23:59+00:00</updated>
<author>
<name>LingMan</name>
<email>LingMan@users.noreply.github.com</email>
</author>
<published>2021-01-11T19:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a56bffb4f9d6f7791b2fa40412bd3e0549d76cc3'/>
<id>urn:sha1:a56bffb4f9d6f7791b2fa40412bd3e0549d76cc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #80981 - bjorn3:bjorn3-patch-1, r=jonas-schievink</title>
<updated>2021-01-14T18:00:25+00:00</updated>
<author>
<name>Mara Bos</name>
<email>m-ou.se@m-ou.se</email>
</author>
<published>2021-01-14T18:00:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ce3bc76a8662727c70e4894d8e49c4689505d7bc'/>
<id>urn:sha1:ce3bc76a8662727c70e4894d8e49c4689505d7bc</id>
<content type='text'>
Fix -Cpasses=list and llvm version print with -vV

cc https://github.com/rust-lang/rust/pull/77975#issuecomment-759362933
</content>
</entry>
<entry>
<title>Fix -Cpasses=list and llvm version print with -vV</title>
<updated>2021-01-13T11:15:42+00:00</updated>
<author>
<name>bjorn3</name>
<email>bjorn3@users.noreply.github.com</email>
</author>
<published>2021-01-13T11:15:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64c1b0d614949f405d8b4498a3b2ea59d9ec230e'/>
<id>urn:sha1:64c1b0d614949f405d8b4498a3b2ea59d9ec230e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #80859 - jsgf:fix-pretty-remap, r=davidtwco</title>
<updated>2021-01-13T02:20:21+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2021-01-13T02:20:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ce8246a2393af53492d2c415f6f415099ce08d2'/>
<id>urn:sha1:7ce8246a2393af53492d2c415f6f415099ce08d2</id>
<content type='text'>
Fix --pretty=expanded with --remap-path-prefix

Per https://github.com/rust-lang/rust/issues/80832, using
--pretty=expanded and --remap-path-prefix results in an ICE.

This is becasue the session source files table is stored in remapped
form, whereas --pretty-expanded looks up unremapped files. This remaps
the path prefixes before lookup.

~~There don't appear to be any existing tests for --pretty=expanded; I'll look into
adding some.~~ Never mind, found the pretty tests.

Fixes #80832
</content>
</entry>
<entry>
<title>driver: Use `atty` instead of rolling our own</title>
<updated>2021-01-12T03:59:25+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-01-11T02:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c431607440d454e15c456b14f0282d3487c411e'/>
<id>urn:sha1:8c431607440d454e15c456b14f0282d3487c411e</id>
<content type='text'>
Rationale:

- `atty` is widely used in the Rust ecosystem
- We already use it (in `rustc_errors` and other places)
- We shouldn't be rolling our own TTY detector when there's a
  widely-used, well-tested package that we can use
</content>
</entry>
<entry>
<title>log-color: Detect TTY based on stderr, not stdout</title>
<updated>2021-01-10T21:22:15+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-01-10T21:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7af29abbc1c2531d4172a9c69f250007c2ff1037'/>
<id>urn:sha1:7af29abbc1c2531d4172a9c69f250007c2ff1037</id>
<content type='text'>
Logging goes to stderr, not stdout, so we should base our automated
detection on stderr instead of stdout.

Thanks to Ralf Jung for noticing and reporting the bug!
</content>
</entry>
<entry>
<title>Fix --pretty=expanded with --remap-path-prefix</title>
<updated>2021-01-10T02:55:50+00:00</updated>
<author>
<name>Jeremy Fitzhardinge</name>
<email>jeremy@goop.org</email>
</author>
<published>2021-01-10T00:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=67978d56c11006a10d286153226f18e18367aa32'/>
<id>urn:sha1:67978d56c11006a10d286153226f18e18367aa32</id>
<content type='text'>
Per https://github.com/rust-lang/rust/issues/80832, using
--pretty=expanded and --remap-path-prefix results in an ICE.

This is becasue the session source files table is stored in remapped
form, whereas --pretty-expanded looks up unremapped files. This remaps
the path prefixes before lookup.
</content>
</entry>
<entry>
<title>where possible, pass slices instead of &amp;Vec or &amp;String (clippy::ptr_arg)</title>
<updated>2020-12-30T12:11:52+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2020-12-30T11:59:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdc9291ed9dd0501a0d25a87463212ad5ec5d87a'/>
<id>urn:sha1:bdc9291ed9dd0501a0d25a87463212ad5ec5d87a</id>
<content type='text'>
</content>
</entry>
</feed>
