<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen, branch 1.54.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.54.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.54.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-06-19T14:27:44+00:00</updated>
<entry>
<title>Revert "Allow specifying alignment for functions"</title>
<updated>2021-06-19T14:27:44+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2021-06-17T19:16:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f07bf3a428599902466015b4ea88c0a9d7f696d5'/>
<id>urn:sha1:f07bf3a428599902466015b4ea88c0a9d7f696d5</id>
<content type='text'>
This reverts commit 448d07683a6defd567996114793a09c9a8aef5df.
</content>
</entry>
<entry>
<title>Auto merge of #79608 - alessandrod:bpf, r=nagisa</title>
<updated>2021-06-06T01:02:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-06-06T01:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f434217aab9abf583ebc928b97ab4116921137aa'/>
<id>urn:sha1:f434217aab9abf583ebc928b97ab4116921137aa</id>
<content type='text'>
BPF target support

This adds `bpfel-unknown-none` and `bpfeb-unknown-none`, two new no_std targets that generate little and big endian BPF. The approach taken is very similar to the cuda target, where `TargetOptions::obj_is_bitcode` is enabled and code generation is done by the linker.

I added the targets to `dist-various-2`. There are [some tests](https://github.com/alessandrod/bpf-linker/tree/main/tests/assembly) in bpf-linker and I'm planning to add more. Those are currently not ran as part of rust CI.
</content>
</entry>
<entry>
<title>Update generator tests</title>
<updated>2021-06-02T20:09:23+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wesleywiser@microsoft.com</email>
</author>
<published>2021-06-02T20:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94c45ef1089bfd9fa4304cf67dedce4788883051'/>
<id>urn:sha1:94c45ef1089bfd9fa4304cf67dedce4788883051</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BPF: remove unnecessary flags from src/test/codegen/bpf-alu32.rs</title>
<updated>2021-05-30T01:50:43+00:00</updated>
<author>
<name>Alessandro Decina</name>
<email>alessandro.d@gmail.com</email>
</author>
<published>2021-05-30T01:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee07447718795e0204f1cba672576cb9debd154f'/>
<id>urn:sha1:ee07447718795e0204f1cba672576cb9debd154f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BPF: fix #[target_feature(enable = "alu32")]</title>
<updated>2021-05-29T12:23:32+00:00</updated>
<author>
<name>Alessandro Decina</name>
<email>alessandro.d@gmail.com</email>
</author>
<published>2021-05-29T12:17:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cf2170a79c73f32e1442120242729dc3af992f0'/>
<id>urn:sha1:9cf2170a79c73f32e1442120242729dc3af992f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-Simulacrum</title>
<updated>2021-05-19T15:59:46+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-05-19T15:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bcaeb0bf9e1c29d18abc32928fd2f23d1bed0bd'/>
<id>urn:sha1:3bcaeb0bf9e1c29d18abc32928fd2f23d1bed0bd</id>
<content type='text'>
std: Attempt again to inline thread-local-init across crates

Issue #25088 has been part of `thread_local!` for quite some time now.
Historical attempts have been made to add `#[inline]` to `__getit`
in #43931, #50252, and #59720, but these attempts ended up not landing
at the time due to segfaults on Windows.

In the interim though with `const`-initialized thread locals AFAIK this
is the only remaining bug which is why you might want to use
`#[thread_local]` over `thread_local!`. As a result I figured it was
time to resubmit this and see how it fares on CI and if I can help
debugging any issues that crop up.

Closes #25088
</content>
</entry>
<entry>
<title>Auto merge of #84767 - scottmcm:try_trait_actual, r=lcnr</title>
<updated>2021-05-18T20:50:01+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-05-18T20:50:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e3e6db011c5b482d2bef8ba02274657f93b5e0d'/>
<id>urn:sha1:4e3e6db011c5b482d2bef8ba02274657f93b5e0d</id>
<content type='text'>
Implement the new desugaring from `try_trait_v2`

~~Currently blocked on https://github.com/rust-lang/rust/issues/84782, which has a PR in https://github.com/rust-lang/rust/pull/84811~~ Rebased atop that fix.

`try_trait_v2` tracking issue: https://github.com/rust-lang/rust/issues/84277

Unfortunately this is already touching a ton of things, so if you have suggestions for good ways to split it up, I'd be happy to hear them.  (The combination between the use in the library, the compiler changes, the corresponding diagnostic differences, even MIR tests mean that I don't really have a great plan for it other than trying to have decently-readable commits.

r? `@ghost`

~~(This probably shouldn't go in during the last week before the fork anyway.)~~ Fork happened.
</content>
</entry>
<entry>
<title>No matter how trivial the change, tidy always finds a way to complain...</title>
<updated>2021-05-18T18:48:00+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2021-05-18T18:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2edee4da07032de72ac930df1453780dbe73f3b'/>
<id>urn:sha1:e2edee4da07032de72ac930df1453780dbe73f3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mention the issue number for the new mir-opt in the FIXMEs</title>
<updated>2021-05-18T18:29:34+00:00</updated>
<author>
<name>scottmcm</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2021-05-18T18:29:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f7dea74d7699707cfdcf81435c200923d0a5047'/>
<id>urn:sha1:6f7dea74d7699707cfdcf81435c200923d0a5047</id>
<content type='text'>

Thanks for the suggestions, lcnr!

Co-authored-by: lcnr &lt;rust@lcnr.de&gt;</content>
</entry>
<entry>
<title>std: Attempt again to inline thread-local-init across crates</title>
<updated>2021-05-18T18:22:04+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2021-05-03T18:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=641d3b09f41b441f2c2618de32983ad3d13ea3f8'/>
<id>urn:sha1:641d3b09f41b441f2c2618de32983ad3d13ea3f8</id>
<content type='text'>
Issue #25088 has been part of `thread_local!` for quite some time now.
Historical attempts have been made to add `#[inline]` to `__getit`
in #43931, #50252, and #59720, but these attempts ended up not landing
at the time due to segfaults on Windows.

In the interim though with `const`-initialized thread locals AFAIK this
is the only remaining bug which is why you might want to use
`#[thread_local]` over `thread_local!`. As a result I figured it was
time to resubmit this and see how it fares on CI and if I can help
debugging any issues that crop up.

Closes #25088
</content>
</entry>
</feed>
