<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_target, 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-18T07:35:11+00:00</updated>
<entry>
<title>Update AMDGPU data layout</title>
<updated>2025-07-18T07:35:11+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2025-07-09T12:18:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63e1074c97b60d248f86321f021871f93ba10c31'/>
<id>urn:sha1:63e1074c97b60d248f86321f021871f93ba10c31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143409 - Gelbpunkt:xgot-mips64-musl, r=compiler-errors</title>
<updated>2025-07-17T01:58:29+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-07-17T01:58:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d8c093be2c1627171815797f863de78b899a7ced'/>
<id>urn:sha1:d8c093be2c1627171815797f863de78b899a7ced</id>
<content type='text'>
Enable xgot feature for mips64 musl targets

This was missed in b65c2afdfd9aaee977302516c9ef177861abfe74, which only enabled it for the glibc targets.

I didn't feel comfortable touching the OpenWRT target, whoever maintains that will probably want to take a look whether it is necessary there as well.
</content>
</entry>
<entry>
<title>stabilize `-Clinker-features=-lld` on x64 linux</title>
<updated>2025-07-08T09:04:21+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2025-07-08T09:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2e6d82c9c96348a2f7dafd1a3337287408fc9751'/>
<id>urn:sha1:2e6d82c9c96348a2f7dafd1a3337287408fc9751</id>
<content type='text'>
This stabilizes a subset of the `-Clinker-features` components on x64 linux:
the lld opt-out.

The opt-in is not stabilized, as interactions with other stable flags require
more internal work, but are not needed for stabilizing using rust-lld by default.

Similarly, since we only switch to rust-lld on x64 linux, the opt-out is
only stabilized there. Other targets still require `-Zunstable-options`
to use it.
</content>
</entry>
<entry>
<title>Auto merge of #143182 - xdoardo:more-addrspace, r=workingjubilee</title>
<updated>2025-07-07T17:28:14+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-07T17:28:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f8eeb2bba86b8f457ec602c578473c711f85628'/>
<id>urn:sha1:2f8eeb2bba86b8f457ec602c578473c711f85628</id>
<content type='text'>
Allow custom default address spaces and parse `p-` specifications in the datalayout string

Some targets, such as CHERI, use as default an address space different from the "normal" default address space `0` (in the case of CHERI, [200 is used](https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-877.pdf)). Currently, `rustc` does not allow to specify custom address spaces and does not take into consideration [`p-` specifications in the datalayout string](https://llvm.org/docs/LangRef.html#langref-datalayout).

This patch tries to mitigate these problems by allowing targets to define a custom default address space (while keeping the default value to address space `0`) and adding the code to parse the `p-` specifications in `rustc_abi`. The main changes are that `TargetDataLayout` now uses functions to refer to pointer-related informations, instead of having specific fields for the size and alignment of pointers in the default address space; furthermore, the two `pointer_size` and `pointer_align` fields in `TargetDataLayout` are replaced with an `FxHashMap` that holds info for all the possible address spaces, as parsed by the `p-` specifications.

The potential performance drawbacks of not having ad-hoc fields for the default address space will be tested in this PR's CI run.

r? workingjubilee
</content>
</entry>
<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>use `div_ceil` instead of manual logic</title>
<updated>2025-07-05T08:55:42+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-07-05T06:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ed3711ea29398b09483e4e2a3930567e9ba81d93'/>
<id>urn:sha1:ed3711ea29398b09483e4e2a3930567e9ba81d93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use `is_multiple_of` instead of manual modulo</title>
<updated>2025-07-05T08:55:35+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-07-05T06:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=226b0fbe11812c71c8002b10a40063571cf52b3f'/>
<id>urn:sha1:226b0fbe11812c71c8002b10a40063571cf52b3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable xgot feature for mips64 musl targets</title>
<updated>2025-07-04T05:04:54+00:00</updated>
<author>
<name>Jens Reidel</name>
<email>adrian@travitia.xyz</email>
</author>
<published>2025-07-04T05:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a7eefc3fc4c16786844841af511b09db832f6a01'/>
<id>urn:sha1:a7eefc3fc4c16786844841af511b09db832f6a01</id>
<content type='text'>
This was missed in b65c2afdfd9aaee977302516c9ef177861abfe74, which only
enabled it for the glibc targets.

I didn't feel comfortable touching the OpenWRT target, whoever maintains
that will probably want to take a look whether it is necessary there as
well.

Signed-off-by: Jens Reidel &lt;adrian@travitia.xyz&gt;
</content>
</entry>
<entry>
<title>Rollup merge of #134006 - klensy:typos, r=nnethercote</title>
<updated>2025-07-03T11:29:35+00:00</updated>
<author>
<name>Jana Dönszelmann</name>
<email>jonathan@donsz.nl</email>
</author>
<published>2025-07-03T11:29:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6d37a25a96fd2c20f4349474d81bbb35e2ecba3'/>
<id>urn:sha1:f6d37a25a96fd2c20f4349474d81bbb35e2ecba3</id>
<content type='text'>
setup typos check in CI

This allows to check typos in CI, currently for compiler only (to reduce commit size with fixes). With current setup, exclude list is quite short, so it worth trying?

Also includes commits with actual typo fixes.

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

typos check currently turned for:
* ./compiler
* ./library
* ./src/bootstrap
* ./src/librustdoc

After merging, PRs which enables checks for other crates (tools) can be implemented too.

Found typos will **not break** other jobs immediately: (tests, building compiler for perf run). Job will be marked as red on completion in ~ 20 secs, so you will not forget to fix it whenever you want, before merging pr.

Check typos: `python x.py test tidy --extra-checks=spellcheck`
Apply typo fixes: `python x.py test tidy --extra-checks=spellcheck:fix` (in case if there only 1 suggestion of each typo)

Current fail in this pr is expected and shows how typo errors emitted. Commit with error will be removed after r+.
</content>
</entry>
<entry>
<title>setup CI and tidy to use typos for spellchecking and fix few typos</title>
<updated>2025-07-03T07:51:06+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-12-07T10:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c76d032f0144b650a438ee1efba89c475e0b115b'/>
<id>urn:sha1:c76d032f0144b650a438ee1efba89c475e0b115b</id>
<content type='text'>
</content>
</entry>
</feed>
