<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_interface/src, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-21T16:54:24+00:00</updated>
<entry>
<title>Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk</title>
<updated>2025-07-21T16:54:24+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-07-21T16:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e3eb2512591df0cef52404f0ea4202f58935a54'/>
<id>urn:sha1:5e3eb2512591df0cef52404f0ea4202f58935a54</id>
<content type='text'>
gpu offload host code generation

r? ghost

This will generate most of the host side code to use llvm's offload feature.
The first PR will only handle automatic mem-transfers to and from the device.
So if a user calls a kernel, we will copy inputs back and forth, but we won't do the actual kernel launch.
Before merging, we will use LLVM's Info infrastructure to verify that the memcopies match what openmp offloa generates in C++. `LIBOMPTARGET_INFO=-1 ./my_rust_binary` should print that a memcpy to and later from the device is happening.

A follow-up PR will generate the actual device-side kernel which will then do computations on the GPU.
A third PR will implement manual host2device and device2host functionality, but the goal is to minimize cases where a user has to overwrite our default handling due to performance issues.

I'm trying to get a full MVP out first, so this just recognizes GPU functions based on magic names. The final frontend will obviously move this over to use proper macros, like I'm already doing it for the autodiff work.
This work will also be compatible with std::autodiff, so one can differentiate GPU kernels.

Tracking:
- https://github.com/rust-lang/rust/issues/131513
</content>
</entry>
<entry>
<title>add -Zoffload=Enable flag behind -Zunstable-options, to enable gpu (host) code generation</title>
<updated>2025-07-18T23:24:00+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-06-18T22:29:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=634016478ec95c6ff933d32789e663ace78e8f82'/>
<id>urn:sha1:634016478ec95c6ff933d32789e663ace78e8f82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Integrate stable feature checking into a query.</title>
<updated>2025-07-17T23:19:12+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-01-30T14:41:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3301ac5f7ba902d445e9484e1e73d80763de4a7e'/>
<id>urn:sha1:3301ac5f7ba902d445e9484e1e73d80763de4a7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Retire stability_index query.</title>
<updated>2025-07-17T23:04:19+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2025-07-12T10:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7e0891423cff18731e9c4616d0e99d404e914de'/>
<id>urn:sha1:f7e0891423cff18731e9c4616d0e99d404e914de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Save metadata among work products.</title>
<updated>2025-07-04T14:02:17+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-08-09T17:47:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c7ee3a5e3f6efc979ea75e4b385af8ced11fdb03'/>
<id>urn:sha1:c7ee3a5e3f6efc979ea75e4b385af8ced11fdb03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #143247 - cjgillot:metadata-no-red, r=petrochenkov</title>
<updated>2025-07-04T10:23:18+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-04T10:23:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=556d20a834126d2d0ac20743b9792b8474d6d03c'/>
<id>urn:sha1:556d20a834126d2d0ac20743b9792b8474d6d03c</id>
<content type='text'>
Avoid depending on forever-red DepNode when encoding metadata.

Split from https://github.com/rust-lang/rust/pull/114669 for perf

r? `@petrochenkov`
</content>
</entry>
<entry>
<title>Hash resolutions.</title>
<updated>2025-07-02T09:14:34+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-08-09T19:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=992fa62118d61c0df27cc0f8d5e22cb7d5bc51c0'/>
<id>urn:sha1:992fa62118d61c0df27cc0f8d5e22cb7d5bc51c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143228 - nnethercote:macro-stats-build-scripts, r=Kobzol</title>
<updated>2025-06-30T18:49:43+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-30T18:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2231d5324235bb077d0a8158e8f8914faf3813b'/>
<id>urn:sha1:f2231d5324235bb077d0a8158e8f8914faf3813b</id>
<content type='text'>
Handle build scripts better in `-Zmacro-stats` output.

Currently all build scripts are listed as `build_script_build` in the stats header. This commit uses `CARGO_PKG_NAME` to improve that.

I tried it on Bevy, it works well, giving output like this on the build script:
```
MACRO EXPANSION STATS: serde build script
```
and this on the crate itself:
```
MACRO EXPANSION STATS: serde
```

r? `@Kobzol`
</content>
</entry>
<entry>
<title>Handle build scripts better in `-Zmacro-stats` output.</title>
<updated>2025-06-30T06:32:00+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-06-30T06:15:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3c995a275188c3787ad1d7384c321ed8d76f620'/>
<id>urn:sha1:c3c995a275188c3787ad1d7384c321ed8d76f620</id>
<content type='text'>
Currently all build scripts are listed as `build_script_build` in the
stats header. This commit uses `CARGO_PKG_NAME` to improve that.

I tried it on Bevy, it works well, giving output like this on the build
script:
```
MACRO EXPANSION STATS: serde build script
```
and this on the crate itself:
```
MACRO EXPANSION STATS: serde
```
</content>
</entry>
<entry>
<title>Improve macro-stats printing.</title>
<updated>2025-06-30T03:33:51+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-06-30T03:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e0761a57ab41d213a705c0cc005d93a3463399c6'/>
<id>urn:sha1:e0761a57ab41d213a705c0cc005d93a3463399c6</id>
<content type='text'>
By allowing long names to overlap with the "Uses" field when it has
spare space. This avoids unnecessary line breaks in the output.
</content>
</entry>
</feed>
