<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_target/src, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-31T11:10:53+00:00</updated>
<entry>
<title>Rollup merge of #120495 - clubby789:remove-amdgpu-kernel, r=oli-obk</title>
<updated>2024-01-31T11:10:53+00:00</updated>
<author>
<name>Nadrieril</name>
<email>Nadrieril@users.noreply.github.com</email>
</author>
<published>2024-01-31T11:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=573e7f181dc1a9c4fe0dbd669e38fc4ac1baa644'/>
<id>urn:sha1:573e7f181dc1a9c4fe0dbd669e38fc4ac1baa644</id>
<content type='text'>
Remove the `abi_amdgpu_kernel` feature

The tracking issue (#51575) has been closed for 3 years, with no activity for 5.
</content>
</entry>
<entry>
<title>Remove the `abi_amdgpu_kernel` feature</title>
<updated>2024-01-30T15:46:40+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2024-01-30T15:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6b21e90d1ec01081bc2619efb68af6788a63d65'/>
<id>urn:sha1:f6b21e90d1ec01081bc2619efb68af6788a63d65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Add the wasm32-wasi-preview2 target"</title>
<updated>2024-01-28T01:02:50+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-01-28T01:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9199742339b64dcc3aeaaf474156b593c93607fb'/>
<id>urn:sha1:9199742339b64dcc3aeaaf474156b593c93607fb</id>
<content type='text'>
This reverts commit 31ecf341250a889ac1154b2cbe3f0b97f9d008c1.

Co-authored-by: Ryan Levick &lt;me@ryanlevick.com&gt;
</content>
</entry>
<entry>
<title>Remove unused features</title>
<updated>2024-01-25T14:01:33+00:00</updated>
<author>
<name>clubby789</name>
<email>jamie@hill-daniel.co.uk</email>
</author>
<published>2024-01-14T20:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd29f74ff8d787f707a40bc5dbcd8f7827100f5e'/>
<id>urn:sha1:fd29f74ff8d787f707a40bc5dbcd8f7827100f5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #120278 - djkoloski:remove_fatal_warnings_wasm, r=oli-obk</title>
<updated>2024-01-25T07:39:43+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-01-25T07:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=565961bbf0450153ff37fddbdea7ff1cba424355'/>
<id>urn:sha1:565961bbf0450153ff37fddbdea7ff1cba424355</id>
<content type='text'>
Remove --fatal-warnings on wasm targets

These were added with good intentions, but a recent change in LLVM 18 emits a warning while examining .rmeta sections in .rlib files. Since this flag is a nice-to-have and users can update their LLVM linker independently of rustc's LLVM version, we can just omit the flag.

See [this comment on wasm targets' uses of `--fatal-warnings`](https://github.com/llvm/llvm-project/pull/78658#issuecomment-1906651390).
</content>
</entry>
<entry>
<title>Rollup merge of #119616 - rylev:wasm32-wasi-preview2, r=petrochenkov,m-ou-se</title>
<updated>2024-01-24T14:43:12+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-01-24T14:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e0a4f43903ac155e7a14bb947f26f0b4f04e587d'/>
<id>urn:sha1:e0a4f43903ac155e7a14bb947f26f0b4f04e587d</id>
<content type='text'>
Add a new `wasm32-wasi-preview2` target

This is the initial implementation of the MCP https://github.com/rust-lang/compiler-team/issues/694 creating a new tier 3 target `wasm32-wasi-preview2`. That MCP has been seconded and will most likely be approved in a little over a week from now. For more information on the need for this target, please read the [MCP](https://github.com/rust-lang/compiler-team/issues/694).

There is one aspect of this PR that will become insta-stable once these changes reach a stable compiler:
* A new `target_family` named `wasi` is introduced. This target family incorporates all wasi targets including `wasm32-wasi` and its derivative `wasm32-wasi-preview1-threads`. The difference between `target_family = wasi` and `target_os = wasi` will become much clearer when `wasm32-wasi` is renamed to `wasm32-wasi-preview1` and the `target_os` becomes `wasm32-wasi-preview1`. You can read about this target rename in [this MCP](https://github.com/rust-lang/compiler-team/issues/695) which has also been seconded and will hopefully be officially approved soon.

Additional technical details include:
* Both `std::sys::wasi_preview2` and `std::os::wasi_preview2` have been created and mostly use `#[path]` annotations on their submodules to reach into the existing `wasi` (soon to be `wasi_preview1`) modules. Over time the differences between `wasi_preview1` and `wasi_preview2` will grow and most like all `#[path]` based module aliases will fall away.
* Building `wasi-preview2` relies on a [`wasi-sdk`](https://github.com/WebAssembly/wasi-sdk) in the same way that `wasi-preview1` does (one must include a `wasi-root` path in the `Config.toml` pointing to sysroot included in the wasi-sdk). The target should build against [wasi-sdk v21](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-21) without modifications. However, the wasi-sdk itself is growing [preview2 support](https://github.com/WebAssembly/wasi-sdk/pull/370) so this might shift rapidly. We will be following along quickly to make sure that building the target remains possible as the wasi-sdk changes.
* This requires a [patch to libc](https://github.com/rylev/rust-libc/tree/wasm32-wasi-preview2) that we'll need to land in conjunction with this change. Until that patch lands the target won't actually build.
</content>
</entry>
<entry>
<title>Rollup merge of #120188 - devnexen:update_bsd_compiler_base_specs, r=wesleywiser</title>
<updated>2024-01-23T20:19:53+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2024-01-23T20:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e5ec4d82ad8c0823de5556ecb196b42e07a0e8f'/>
<id>urn:sha1:1e5ec4d82ad8c0823de5556ecb196b42e07a0e8f</id>
<content type='text'>
compiler: update freebsd and netbsd base specs.

both support thread local.
</content>
</entry>
<entry>
<title>Remove --fatal-warnings on wasm targets</title>
<updated>2024-01-23T19:10:17+00:00</updated>
<author>
<name>David Koloski</name>
<email>djkoloski@gmail.com</email>
</author>
<published>2024-01-23T19:10:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=849d884141530c1e5b04a7cd66a0332fe9dd1d7a'/>
<id>urn:sha1:849d884141530c1e5b04a7cd66a0332fe9dd1d7a</id>
<content type='text'>
These were added with good intentions, but a recent change in LLVM 18
emits a warning while examining .rmeta sections in .rlib files. Since
this flag is a nice-to-have and users can update their LLVM linker
independently of rustc's LLVM version, we can just omit the flag.
</content>
</entry>
<entry>
<title>Add the wasm32-wasi-preview2 target</title>
<updated>2024-01-23T12:26:16+00:00</updated>
<author>
<name>Ryan Levick</name>
<email>me@ryanlevick.com</email>
</author>
<published>2023-12-18T20:43:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31ecf341250a889ac1154b2cbe3f0b97f9d008c1'/>
<id>urn:sha1:31ecf341250a889ac1154b2cbe3f0b97f9d008c1</id>
<content type='text'>
Signed-off-by: Ryan Levick &lt;me@ryanlevick.com&gt;
</content>
</entry>
<entry>
<title>rustc: implement support for `riscv32im_risc0_zkvm_elf`</title>
<updated>2024-01-22T18:07:36+00:00</updated>
<author>
<name>Erik Kaneda</name>
<email>erik@risczero.com</email>
</author>
<published>2023-11-16T00:57:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=966b94e0a2330255e30b687f165dc4f2e8de140a'/>
<id>urn:sha1:966b94e0a2330255e30b687f165dc4f2e8de140a</id>
<content type='text'>
This also adds changes in the rust test suite in order to get a few of them to
pass.

Co-authored-by: Frank Laub &lt;flaub@risc0.com&gt;
Co-authored-by: Urgau &lt;3616612+Urgau@users.noreply.github.com&gt;
</content>
</entry>
</feed>
