<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/errors.rs, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-29T15:51:48+00:00</updated>
<entry>
<title>Auto merge of #113301 - Be-ing:stabilize_bundle_whole-archive, r=petrochenkov</title>
<updated>2023-09-29T15:51:48+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-29T15:51:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56ada88e7e1f00e6c6e8a0957de295bc0e2d64f7'/>
<id>urn:sha1:56ada88e7e1f00e6c6e8a0957de295bc0e2d64f7</id>
<content type='text'>
stabilize combining +bundle and +whole-archive link modifiers

Per discussion on https://github.com/rust-lang/rust/issues/108081 combining +bundle and +whole-archive already works and can be stabilized independently of other aspects of the packed_bundled_libs feature. There is no risk of regression because this was not previously allowed.

r? `@petrochenkov`
</content>
</entry>
<entry>
<title>don't point at const usage site for resolution-time errors</title>
<updated>2023-09-14T20:34:05+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-11T21:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ac8b363e3227fdc08634ce445b7787aa0fa6bba'/>
<id>urn:sha1:9ac8b363e3227fdc08634ce445b7787aa0fa6bba</id>
<content type='text'>
also share the code that emits the actual error
</content>
</entry>
<entry>
<title>Rework no_coverage to coverage(off)</title>
<updated>2023-09-08T11:46:06+00:00</updated>
<author>
<name>Andy Caldwell</name>
<email>andycaldwell@microsoft.com</email>
</author>
<published>2023-08-09T14:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e03371fc3209b8b91989b108314e35f471d6b89'/>
<id>urn:sha1:8e03371fc3209b8b91989b108314e35f471d6b89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't ICE on layout computation failure</title>
<updated>2023-08-28T19:40:39+00:00</updated>
<author>
<name>Katherine Philip</name>
<email>katherinephilip98@gmail.com</email>
</author>
<published>2023-08-28T19:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56b767322b87917ea82bad6472593efa839437f9'/>
<id>urn:sha1:56b767322b87917ea82bad6472593efa839437f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stabilize combining +bundle and +whole-archive link modifiers</title>
<updated>2023-08-15T20:51:18+00:00</updated>
<author>
<name>Be Wilson</name>
<email>be.wilson@kdab.com</email>
</author>
<published>2023-07-03T19:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72e29da3eccd3e4c1fb2c581fa33216db50fcc93'/>
<id>urn:sha1:72e29da3eccd3e4c1fb2c581fa33216db50fcc93</id>
<content type='text'>
Currently, combining +bundle and +whole-archive works only with
 #![feature(packed_bundled_libs)]
This crate feature is independent of the -Zpacked-bundled-libs
command line option.

This commit stabilizes the #![feature(packed_bundled_libs)] crate
feature and implicitly enables it only when the +bundle and
+whole-archive link modifiers are combined. This allows rlib
crates to use the +whole-archive link modifier with native
libraries and have all symbols included in the linked library
to be included in downstream staticlib crates that use the rlib as
a dependency. Other cases requiring the packed_bundled_libs
behavior still require the -Zpacked-bundled-libs command line
option, which can be stabilized independently in the future.

Per discussion on https://github.com/rust-lang/rust/issues/108081
there is no risk of regression stabilizing the crate feature in
this way because the combination of +bundle,+whole-archive link
modifiers was previously not allowed.
</content>
</entry>
<entry>
<title>inline format!() args up to and including rustc_codegen_llvm</title>
<updated>2023-07-30T12:22:50+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-07-25T21:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3ce90b16490490aea6da61f913fb0ecbc5d4ec7a'/>
<id>urn:sha1:3ce90b16490490aea6da61f913fb0ecbc5d4ec7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove redundant clones</title>
<updated>2023-07-23T07:48:07+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-07-23T07:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=abde841f0abfced6be0a51d9de6d172f7b993081'/>
<id>urn:sha1:abde841f0abfced6be0a51d9de6d172f7b993081</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add note about writing native-static-libs to file</title>
<updated>2023-07-20T18:04:32+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2023-07-19T22:13:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26fd6b15b058df4b53fd95109a92316a74e7e94a'/>
<id>urn:sha1:26fd6b15b058df4b53fd95109a92316a74e7e94a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `rustc` option to output LLVM optimization remarks to YAML files</title>
<updated>2023-07-02T11:41:36+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2023-06-25T21:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62728c7aaff0441b12057de8f1be620feb96652c'/>
<id>urn:sha1:62728c7aaff0441b12057de8f1be620feb96652c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #111626 - pjhades:output, r=b-naber</title>
<updated>2023-06-09T09:45:40+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-06-09T09:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=343ad6f0596fa3222f3168b74b3e8571066e77bb'/>
<id>urn:sha1:343ad6f0596fa3222f3168b74b3e8571066e77bb</id>
<content type='text'>
Write to stdout if `-` is given as output file

With this PR, if `-o -` or `--emit KIND=-` is provided, output will be written to stdout instead. Binary output (those of type `obj`, `llvm-bc`, `link` and `metadata`) being written this way will result in an error unless stdout is not a tty. Multiple output types going to stdout will trigger an error too, as they will all be mixded together.

This implements https://github.com/rust-lang/compiler-team/issues/431

The idea behind the changes is to introduce an `OutFileName` enum that represents the output - be it a real path or stdout - and to use this enum along the code paths that handle different output types.
</content>
</entry>
</feed>
