<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustc/rustc.rs, branch 1.34.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-01-03T21:52:36+00:00</updated>
<entry>
<title>rustc: Fix regression where jemalloc isn't used</title>
<updated>2019-01-03T21:52:36+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2019-01-02T21:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccbf28eae8b345db3ede51112cc32c756a084bd9'/>
<id>urn:sha1:ccbf28eae8b345db3ede51112cc32c756a084bd9</id>
<content type='text'>
In #56986 the linkage of jemalloc to the compiler was switched from the
driver library to the rustc binary to ensure that only rustc itself uses
jemalloc. In doing so, however, it turns out jemalloc wasn't actually
linked in at all! None of the symbols were referenced so the static
library wasn't used. This means that jemalloc wasn't pulled in at all.

This commit performs a bit of a dance to reference jemalloc symbols,
attempting to pull it in despite LLVM's optimizations.

Closes #57115
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Move jemalloc from rustc_driver to rustc</title>
<updated>2018-12-19T16:27:23+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-12-19T16:27:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba0ed5b13f23dd6e4ff0047a653ee615b84a67f2'/>
<id>urn:sha1:ba0ed5b13f23dd6e4ff0047a653ee615b84a67f2</id>
<content type='text'>
This commit moves jemalloc to just the rustc binary rather than the
rustc_driver shared library, enusring that it's only used for binaries
that opt-in to it like rustc rather than other binaries using
librustc_driver like rustdoc/rls/etc. This will hopefully address #56980
</content>
</entry>
<entry>
<title>Rollup merge of #49606 - varkor:pipe-repair, r=alexcrichton</title>
<updated>2018-04-16T17:50:58+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-04-16T17:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ccd2c403ac6d1b92c49985d09c4b1d0af8f651e1'/>
<id>urn:sha1:ccd2c403ac6d1b92c49985d09c4b1d0af8f651e1</id>
<content type='text'>
Prevent broken pipes causing ICEs

As the private `std::io::print_to` panics if there is an I/O error, which is used by `println!`, the compiler would ICE if one attempted to use a broken pipe (e.g. `rustc --help | false`). This introduces a new (private) macro `try_println!` which allows us to avoid this.

As a side note, it seems this macro might be useful publicly (and actually there seems to be [a crate specifically for this purpose](https://crates.io/crates/try_print/)), though that can probably be left for a future discussion.

One slight alternative approach would be to simply early exit without an error (i.e. exit code `0`), which [this comment](https://github.com/rust-lang/rust/issues/34376#issuecomment-377822526) suggests is the usual approach. I've opted not to take that approach initially, because I think it's more helpful to know when there is a broken pipe.

Fixes #34376.
</content>
</entry>
<entry>
<title>Prevent EPIPE causing ICEs in rustc and rustdoc</title>
<updated>2018-04-11T10:05:13+00:00</updated>
<author>
<name>varkor</name>
<email>github@varkor.com</email>
</author>
<published>2018-04-10T22:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ab31f6556c2cce433695b113f53d6275edd724d'/>
<id>urn:sha1:7ab31f6556c2cce433695b113f53d6275edd724d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow incorrectly reported unused attribute warning</title>
<updated>2018-04-11T02:04:57+00:00</updated>
<author>
<name>Mark Simulacrum</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-04-09T17:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=53718d2ef1729c987531dc94971c905815daef55'/>
<id>urn:sha1:53718d2ef1729c987531dc94971c905815daef55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set link args for rustdoc</title>
<updated>2018-03-28T09:51:25+00:00</updated>
<author>
<name>Tatsuyuki Ishi</name>
<email>ishitatsuyuki@gmail.com</email>
</author>
<published>2018-03-28T09:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50ca86be2438369dd1263c619a3bac21bd30a37f'/>
<id>urn:sha1:50ca86be2438369dd1263c619a3bac21bd30a37f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_driver: get rid of extra thread on Windows</title>
<updated>2018-03-18T14:05:28+00:00</updated>
<author>
<name>Tatsuyuki Ishi</name>
<email>ishitatsuyuki@gmail.com</email>
</author>
<published>2018-03-06T04:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1bb89f1b3cf1e4b5fa83391872136251c0030c1e'/>
<id>urn:sha1:1bb89f1b3cf1e4b5fa83391872136251c0030c1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a Cargo-based build system</title>
<updated>2016-02-11T18:42:28+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-11-19T23:20:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=046e6874c47ec55e23b7a566bca51d2920562485'/>
<id>urn:sha1:046e6874c47ec55e23b7a566bca51d2920562485</id>
<content type='text'>
This commit is the start of a series of commits which start to replace the
makefiles with a Cargo-based build system. The aim is not to remove the
makefiles entirely just yet but rather just replace the portions that invoke the
compiler to do the bootstrap. This commit specifically adds enough support to
perform the bootstrap (and all the cross compilation within) along with
generating documentation.

More commits will follow up in this series to actually wire up the makefiles to
call this build system, so stay tuned!
</content>
</entry>
</feed>
