<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_session/src/config, branch 1.90.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.90.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.90.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-07T07:04:53+00:00</updated>
<entry>
<title>compiler: Parse `p-` specs in datalayout string, allow definition of custom default data address space</title>
<updated>2025-07-07T07:04:53+00:00</updated>
<author>
<name>Edoardo Marangoni</name>
<email>edoardo.marangoni@scisemi.com</email>
</author>
<published>2025-06-29T10:11:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93f1201c0616672d71e640a0ad600d029448c40a'/>
<id>urn:sha1:93f1201c0616672d71e640a0ad600d029448c40a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement the internal feature `cfg_target_has_reliable_f16_f128`</title>
<updated>2025-04-27T19:58:44+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2025-04-24T22:11:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ceeb0849e181999fc6ecc2cb9dcfdc65b5effd3'/>
<id>urn:sha1:6ceeb0849e181999fc6ecc2cb9dcfdc65b5effd3</id>
<content type='text'>
Support for `f16` and `f128` is varied across targets, backends, and
backend versions. Eventually we would like to reach a point where all
backends support these approximately equally, but until then we have to
work around some of these nuances of support being observable.

Introduce the `cfg_target_has_reliable_f16_f128` internal feature, which
provides the following new configuration gates:

* `cfg(target_has_reliable_f16)`
* `cfg(target_has_reliable_f16_math)`
* `cfg(target_has_reliable_f128)`
* `cfg(target_has_reliable_f128_math)`

`reliable_f16` and `reliable_f128` indicate that basic arithmetic for
the type works correctly. The `_math` versions indicate that anything
relying on `libm` works correctly, since sometimes this hits a separate
class of codegen bugs.

These options match configuration set by the build script at [1]. The
logic for LLVM support is duplicated as-is from the same script. There
are a few possible updates that will come as a follow up.

The config introduced here is not planned to ever become stable, it is
only intended to replace the build scripts for `std` tests and
`compiler-builtins` that don't have any way to configure based on the
codegen backend.

MCP: https://github.com/rust-lang/compiler-team/issues/866
Closes: https://github.com/rust-lang/compiler-team/issues/866

[1]: https://github.com/rust-lang/rust/blob/555e1d0386f024a8359645c3217f4b3eae9be042/library/std/build.rs#L84-L186
</content>
</entry>
<entry>
<title>Add unstable foo::bar extern command line arguments</title>
<updated>2025-04-15T20:04:50+00:00</updated>
<author>
<name>Eric Holk</name>
<email>ericholk@microsoft.com</email>
</author>
<published>2025-04-08T23:11:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f35c85f72fc1249f0553d97482ca29fe3fa0a165'/>
<id>urn:sha1:f35c85f72fc1249f0553d97482ca29fe3fa0a165</id>
<content type='text'>
Also refactors some of the crate name parsing code and adds unit tests

Issue #122349

Co-authored-by: León Orell Valerian Liehr &lt;me@fmease.dev&gt;
</content>
</entry>
<entry>
<title>Rollup merge of #137072 - Urgau:check-cfg-load-builtins-at-once, r=Noratrieb</title>
<updated>2025-02-16T16:14:04+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-16T16:14:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc094a1813de0fb58cb9d4be00f5e86701000f2a'/>
<id>urn:sha1:fc094a1813de0fb58cb9d4be00f5e86701000f2a</id>
<content type='text'>
Load all builtin targets at once instead of one by one in check-cfg

This PR adds a method on `rustc_target::Target` to load all the builtin targets at once, and then uses that method when constructing the `target_*` values in check-cfg instead of load loading each target one by one by their name, which requires a lookup and was more of a hack anyway.

This may give us some performance improvements as we won't need to do the lookup for the _currently_ 287 targets we have.
</content>
</entry>
<entry>
<title>Load all builtin targets at once instead of one by one</title>
<updated>2025-02-15T17:49:26+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2025-02-15T10:53:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ec3cf9abc15368df705b65e20e7e753d565fe71'/>
<id>urn:sha1:6ec3cf9abc15368df705b65e20e7e753d565fe71</id>
<content type='text'>
This should give us some performance improvements as we won't need to
do the lookup for the _currently_ 287 targets we have.
</content>
</entry>
<entry>
<title>Rollup merge of #135285 - tbu-:pr_fix_typo4, r=GuillaumeGomez</title>
<updated>2025-02-11T17:04:22+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-11T17:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d719afdbd993fa9bac1cd5db09dd296af0afd154'/>
<id>urn:sha1:d719afdbd993fa9bac1cd5db09dd296af0afd154</id>
<content type='text'>
it-self → itself, build-system → build system, type-alias → type alias
</content>
</entry>
<entry>
<title>Rustfmt</title>
<updated>2025-02-08T22:12:13+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-08T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcae03369abb4c2cc180cd5a49e1f4440a81300'/>
<id>urn:sha1:1fcae03369abb4c2cc180cd5a49e1f4440a81300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett</title>
<updated>2025-02-06T20:56:26+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-06T20:56:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0fb72ee57cc9b7b823978d1c5afa0fe18ab0a496'/>
<id>urn:sha1:0fb72ee57cc9b7b823978d1c5afa0fe18ab0a496</id>
<content type='text'>
Stabilize `map_many_mut` feature

This PR stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` and `HashMap::get_many_unchecked_mut` as `HashMap::get_disjoint_unchecked_mut` per FCP.

FCP at https://github.com/rust-lang/rust/issues/97601#issuecomment-2532710423
Fixes #97601
r? libs
</content>
</entry>
<entry>
<title>Contracts core intrinsics.</title>
<updated>2025-02-03T20:53:57+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2024-12-02T20:35:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bcb8565f301b579dee60fffe87d5a329cc69fefa'/>
<id>urn:sha1:bcb8565f301b579dee60fffe87d5a329cc69fefa</id>
<content type='text'>
These are hooks to:

  1. control whether contract checks are run
  2. allow 3rd party tools to intercept and reintepret the results of running contracts.
</content>
</entry>
<entry>
<title>it-self → itself, build-system → build system, type-alias → type alias</title>
<updated>2025-01-31T14:13:46+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2025-01-09T12:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e4391218476c0ffe092e4e32c9b6ae5057e5a0a'/>
<id>urn:sha1:2e4391218476c0ffe092e4e32c9b6ae5057e5a0a</id>
<content type='text'>
</content>
</entry>
</feed>
