<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_session/src/errors.rs, branch 1.72.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.72.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.72.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-05-29T16:58:11+00:00</updated>
<entry>
<title>linker: Report linker flavors incompatible with the current target</title>
<updated>2023-05-29T16:58:11+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2023-04-25T12:48:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0ce4164f09be1221d004c4b84e49bdcbf973194'/>
<id>urn:sha1:b0ce4164f09be1221d004c4b84e49bdcbf973194</id>
<content type='text'>
Previously they would be reported as link time errors about unknown linker options
</content>
</entry>
<entry>
<title>Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errors</title>
<updated>2023-05-05T13:10:33+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2023-05-05T13:10:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4891f02cff9a282df96b368b2f3f8151a78e9676'/>
<id>urn:sha1:4891f02cff9a282df96b368b2f3f8151a78e9676</id>
<content type='text'>
Implement RFC 3348, `c"foo"` literals

RFC: https://github.com/rust-lang/rfcs/pull/3348
Tracking issue: #105723
</content>
</entry>
<entry>
<title>Add cross-language LLVM CFI support to the Rust compiler</title>
<updated>2023-05-03T22:41:29+00:00</updated>
<author>
<name>Ramon de C Valle</name>
<email>rcvalle@users.noreply.github.com</email>
</author>
<published>2022-12-13T06:42:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=004aa15b4718c34ca367f77c6d57c63d670c4f56'/>
<id>urn:sha1:004aa15b4718c34ca367f77c6d57c63d670c4f56</id>
<content type='text'>
This commit adds cross-language LLVM Control Flow Integrity (CFI)
support to the Rust compiler by adding the
`-Zsanitizer-cfi-normalize-integers` option to be used with Clang
`-fsanitize-cfi-icall-normalize-integers` for normalizing integer types
(see https://reviews.llvm.org/D139395).

It provides forward-edge control flow protection for C or C++ and Rust
-compiled code "mixed binaries" (i.e., for when C or C++ and Rust
-compiled code share the same virtual address space). For more
information about LLVM CFI and cross-language LLVM CFI support for the
Rust compiler, see design document in the tracking issue #89653.

Cross-language LLVM CFI can be enabled with -Zsanitizer=cfi and
-Zsanitizer-cfi-normalize-integers, and requires proper (i.e.,
non-rustc) LTO (i.e., -Clinker-plugin-lto).
</content>
</entry>
<entry>
<title>make it semantic error</title>
<updated>2023-05-02T10:32:08+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2023-03-10T14:18:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=abb181dfd9b9df22908ab08d7cfb46509295e2e6'/>
<id>urn:sha1:abb181dfd9b9df22908ab08d7cfb46509295e2e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillot</title>
<updated>2023-02-16T23:19:34+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-02-16T23:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=089e8c03bcd69e559c6c1d03051ca3b7a81ac688'/>
<id>urn:sha1:089e8c03bcd69e559c6c1d03051ca3b7a81ac688</id>
<content type='text'>
Implement partial support for non-lifetime binders

This implements support for non-lifetime binders. It's pretty useless currently, but I wanted to put this up so the implementation can be discussed.

Specifically, this piggybacks off of the late-bound lifetime collection code in `rustc_hir_typeck::collect::lifetimes`. This seems like a necessary step given the fact we don't resolve late-bound regions until this point, and binders are sometimes merged.

Q: I'm not sure if I should go along this route, or try to modify the earlier nameres code to compute the right bound var indices for type and const binders eagerly... If so, I'll need to rename all these queries to something more appropriate (I've done this for `resolve_lifetime::Region` -&gt; `resolve_lifetime::ResolvedArg`)

cc rust-lang/types-team#81

r? `@ghost`
</content>
</entry>
<entry>
<title>`if $c:expr { Some($r:expr) } else { None }` =&gt;&gt; `$c.then(|| $r)`</title>
<updated>2023-02-16T15:26:00+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-02-15T11:43:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8751fa1a9abda9fc7ced6b03315efbd82310830d'/>
<id>urn:sha1:8751fa1a9abda9fc7ced6b03315efbd82310830d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add feature gate for non_lifetime_binders</title>
<updated>2023-02-16T03:39:58+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-02-04T01:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=262a344d7245f242586d5d5a0cc5c892f45891c4'/>
<id>urn:sha1:262a344d7245f242586d5d5a0cc5c892f45891c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Emit an error if -Z instrument-xray is not supported</title>
<updated>2023-02-09T03:29:40+00:00</updated>
<author>
<name>Oleksii Lozovskyi</name>
<email>me@ilammy.net</email>
</author>
<published>2022-10-02T01:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3561dc948c1a2a24c2b49992099954a96be3c8ee'/>
<id>urn:sha1:3561dc948c1a2a24c2b49992099954a96be3c8ee</id>
<content type='text'>
This is somewhat important because LLVM enables the pass based on
target architecture, but support by the target OS also matters.

For example, XRay attributes are processed by codegen for macOS
targets, but Apple linker fails to process relocations in XRay
data sections, so the feature as a whole is not supported there
for the time being.
</content>
</entry>
<entry>
<title>session: diagnostic migration lint on more fns</title>
<updated>2023-01-30T17:11:35+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood@huawei.com</email>
</author>
<published>2022-08-19T13:48:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2575b1abc97e1352b307163ac7de2142aded22a5'/>
<id>urn:sha1:2575b1abc97e1352b307163ac7de2142aded22a5</id>
<content type='text'>
Apply the diagnostic migration lint to more functions on `Session`.

Signed-off-by: David Wood &lt;david.wood@huawei.com&gt;
</content>
</entry>
<entry>
<title>Print correct base for too-large literals</title>
<updated>2023-01-02T11:43:07+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2023-01-02T05:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=537c7f4fa95f4c5b0a6259ee7badae5ad57d0940'/>
<id>urn:sha1:537c7f4fa95f4c5b0a6259ee7badae5ad57d0940</id>
<content type='text'>
Also update tests
</content>
</entry>
</feed>
