<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/debuginfo, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-29T18:20:23+00:00</updated>
<entry>
<title>Verify llvm-needs-components are not empty and match the --target value</title>
<updated>2025-07-29T18:20:23+00:00</updated>
<author>
<name>Daniel Paoliello</name>
<email>danpao@microsoft.com</email>
</author>
<published>2025-07-16T23:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cffde732ceecd1bcb333d34fe7a9c9caa4d9a9fa'/>
<id>urn:sha1:cffde732ceecd1bcb333d34fe7a9c9caa4d9a9fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rephrase comment to include some tracking issues</title>
<updated>2025-07-21T19:57:08+00:00</updated>
<author>
<name>Jens Reidel</name>
<email>adrian@travitia.xyz</email>
</author>
<published>2025-07-21T19:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1b6cfe62e0571d2c5bfd89fd7dae9e4cf7bcf86'/>
<id>urn:sha1:e1b6cfe62e0571d2c5bfd89fd7dae9e4cf7bcf86</id>
<content type='text'>
Signed-off-by: Jens Reidel &lt;adrian@travitia.xyz&gt;
</content>
</entry>
<entry>
<title>tests: debuginfo: Work around or disable broken tests on powerpc</title>
<updated>2025-07-20T05:29:19+00:00</updated>
<author>
<name>Jens Reidel</name>
<email>adrian@travitia.xyz</email>
</author>
<published>2025-07-18T21:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d0eddbedd3b364418d2ae12b1240d487488ac5b'/>
<id>urn:sha1:1d0eddbedd3b364418d2ae12b1240d487488ac5b</id>
<content type='text'>
f16 support for PowerPC has issues in LLVM, therefore we need a small
workaround to prevent LLVM from emitting symbols that don't exist for
PowerPC yet.

It also appears that unused by-value non-immedate issue with gdb applies
to PowerPC targets as well, though I've only tested 64-bit Linux targets.

Signed-off-by: Jens Reidel &lt;adrian@travitia.xyz&gt;
</content>
</entry>
<entry>
<title>tests: `{Meta,Pointee}Sized` in non-minicore tests</title>
<updated>2025-06-16T23:04:33+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-01-23T11:25:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=322cc315040da14c12f84d74fd5761c5d064e50e'/>
<id>urn:sha1:322cc315040da14c12f84d74fd5761c5d064e50e</id>
<content type='text'>
As before, add `MetaSized` and `PointeeSized` traits to all of the
non-minicore `no_core` tests so that they don't fail for lack of
language items.
</content>
</entry>
<entry>
<title>tests: Change "fastcall" to "system" in some tests</title>
<updated>2025-06-09T23:10:21+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2025-06-06T22:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=643a9d233b4f1547220134daea4bcca809302d40'/>
<id>urn:sha1:643a9d233b4f1547220134daea4bcca809302d40</id>
<content type='text'>
Lets the test still work on different architectures.
</content>
</entry>
<entry>
<title>Rollup merge of #138285 - beetrees:repr128-stable, r=traviscross,bjorn3</title>
<updated>2025-05-29T02:50:46+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-05-29T02:50:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8951c74e2a5bd81710e178cb708257c0c5cd60da'/>
<id>urn:sha1:8951c74e2a5bd81710e178cb708257c0c5cd60da</id>
<content type='text'>
Stabilize `repr128`

## Stabilisation report

The `repr128` feature ([tracking issue](https://github.com/rust-lang/rust/issues/56071)) allows the use of `#[repr(u128)]` and `#[repr(i128)]` on enums in the same way that other primitive representations such as `#[repr(u64)]` can be used. For example:

```rust
#[repr(u128)]
enum Foo {
    One = 1,
    Two,
    Big = u128::MAX,
}

#[repr(i128)]
enum Bar {
    HasThing(u16) = 42,
    HasSomethingElse(i64) = u64::MAX as i128 + 1,
    HasNothing,
}
```

This is the final part of adding 128-bit integers to Rust ([RFC 1504](https://rust-lang.github.io/rfcs/1504-int128.html)); all other parts of 128-bit integer support were stabilised in #49101 back in 2018.

From a design perspective, `#[repr(u128)]`/`#[repr(i128)]` function like `#[repr(u64)]`/`#[repr(i64)]` but for 128-bit integers instead of 64-bit integers. The only differences are:

- FFI safety: as `u128`/`i128` are not currently considered FFI safe, neither are `#[repr(u128)]`/`#[repr(i128)]` enums (I discovered this wasn't the case while drafting this stabilisation report, so I have submitted #138282 to fix this).
- Debug info: while none of the major debuggers currently support 128-bit integers, as of LLVM 20 `rustc` will emit valid debuginfo for both DWARF and PDB (PDB makes use of the same natvis that is also used for all enums with fields, whereas DWARF has native support).

Tests for `#[repr(u128)]`/`#[repr(i128)]` enums include:
- [ui/enum-discriminant/repr128.rs](https://github.com/rust-lang/rust/blob/385970f0c1fd0c09bac426b02f38300c0b1ba9a2/tests/ui/enum-discriminant/repr128.rs): checks that 128-bit enum discriminants have the correct values.
- [debuginfo/msvc-pretty-enums.rs](https://github.com/rust-lang/rust/blob/385970f0c1fd0c09bac426b02f38300c0b1ba9a2/tests/debuginfo/msvc-pretty-enums.rs): checks the PDB debuginfo is correct.
- [run-make/repr128-dwarf](https://github.com/rust-lang/rust/blob/385970f0c1fd0c09bac426b02f38300c0b1ba9a2/tests/run-make/repr128-dwarf/rmake.rs): checks the DWARF debuginfo is correct.

Stabilising this feature does not require any changes to the Rust Reference as [the documentation on primitive representations](https://doc.rust-lang.org/nightly/reference/type-layout.html#r-layout.repr.primitive.intro) already includes `u128` and `i128`.

Closes #56071
Closes https://github.com/rust-lang/reference/issues/1368

r? lang

```@rustbot``` label +I-lang-nominated +T-lang
</content>
</entry>
<entry>
<title>Stabilise `repr128`</title>
<updated>2025-05-28T14:14:34+00:00</updated>
<author>
<name>beetrees</name>
<email>b@beetr.ee</email>
</author>
<published>2025-03-09T19:03:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=467eeabbb5e876abc6bf552670199695172ad07a'/>
<id>urn:sha1:467eeabbb5e876abc6bf552670199695172ad07a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: move tests from x86_64-gnu-llvm-19 job to aarch64</title>
<updated>2025-05-26T20:27:20+00:00</updated>
<author>
<name>MarcoIeni</name>
<email>11428655+MarcoIeni@users.noreply.github.com</email>
</author>
<published>2025-05-26T20:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b7a927d846ae02c3a403be0eb47714c557c49b4'/>
<id>urn:sha1:1b7a927d846ae02c3a403be0eb47714c557c49b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the fn_span when emitting function calls for better debug info.</title>
<updated>2025-05-22T21:06:24+00:00</updated>
<author>
<name>Kyle Huey</name>
<email>khuey@kylehuey.com</email>
</author>
<published>2025-05-21T23:21:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=caf665e692d74085e28a62ce4497eb7f02c5f37f'/>
<id>urn:sha1:caf665e692d74085e28a62ce4497eb7f02c5f37f</id>
<content type='text'>
This especially improves the developer experience for long chains
of function calls that span multiple lines, which is common with
builder patterns, chains of iterator/future combinators, etc.
</content>
</entry>
<entry>
<title>[win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows</title>
<updated>2025-05-07T17:49:54+00:00</updated>
<author>
<name>Daniel Paoliello</name>
<email>danpao@microsoft.com</email>
</author>
<published>2025-05-07T17:46:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3286d4aad789a48bfaef5a682d6dcf2642012216'/>
<id>urn:sha1:3286d4aad789a48bfaef5a682d6dcf2642012216</id>
<content type='text'>
</content>
</entry>
</feed>
