<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/core/src, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-14T18:43:32+00:00</updated>
<entry>
<title>Update CURRENT_RUSTC_VERSION post-bump</title>
<updated>2025-09-14T18:43:32+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2025-09-14T14:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03265b459f0fb0138c8197377ea3eba279989709'/>
<id>urn:sha1:03265b459f0fb0138c8197377ea3eba279989709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146521 - folkertdev:document-va-arg-safe, r=workingjubilee</title>
<updated>2025-09-13T22:55:20+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-09-13T22:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da1c27df16075d9ebb28a94cf9b400e89c476233'/>
<id>urn:sha1:da1c27df16075d9ebb28a94cf9b400e89c476233</id>
<content type='text'>
document `core::ffi::VaArgSafe`

tracking issue: https://github.com/rust-lang/rust/issues/44930

A modification of https://github.com/rust-lang/rust/pull/146454, keeping just the documentation changes, but not unsealing the trait.

Although conceptually we'd want to unseal the trait, there are many edge cases to supporting arbitrary types. We'd need to exhaustively test that all targets/calling conventions support all types that rust might generate (or generate proper error messages for unsupported cases). At present, many of the `va_arg` implementations assume that the argument is a scalar, and has an alignment of at most 8. That is totally  sufficient for an MVP (accepting all of the "standard" C types), but clearly does not cover all rust types.

This PR also adds some various other tests for edge cases of c-variadic:

- the `#[inline]` attribute in its various forms. At present, LLVM is unable to inline c-variadic functions, but the attribute should still be accepted. `#[rustc_force_inline]` already rejects c-variadic functions.
- naked functions should accept and work with a C variable argument list. In the future we'd like to allow more ABIs with naked functions (basically, any ABI for which we accept defining foreign c-variadic functions), but for now only  `"C"` and `"C-unwind` are supported
- guaranteed tail calls: c-variadic functions cannot be tail-called. That was already rejected, but there was not test for it.

r? `@workingjubilee`
</content>
</entry>
<entry>
<title>c-variadic: document `core::ffi::VaArgSafe`</title>
<updated>2025-09-13T19:04:58+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-09-11T21:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61a35937861cae48b9ade326f75c00e387e6376a'/>
<id>urn:sha1:61a35937861cae48b9ade326f75c00e387e6376a</id>
<content type='text'>
and document `VaList::arg`.
</content>
</entry>
<entry>
<title>Constify Eq, Ord, PartialOrd</title>
<updated>2025-09-12T09:39:31+00:00</updated>
<author>
<name>Evgenii Zheltonozhskii</name>
<email>zheltonozhskiy@gmail.com</email>
</author>
<published>2025-09-12T09:39:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff9b1c1d285821fabe3cbf904fc407d62d95fbdc'/>
<id>urn:sha1:ff9b1c1d285821fabe3cbf904fc407d62d95fbdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #142315 - lolbinarycat:core-dedup-ptr-docs-139190-pt3, r=workingjubilee</title>
<updated>2025-09-11T04:06:26+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-11T04:06:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=602841dc8c4b9d58d663b4d8a23d91172c45274d'/>
<id>urn:sha1:602841dc8c4b9d58d663b4d8a23d91172c45274d</id>
<content type='text'>
core::ptr: deduplicate docs for as_ref, addr, and as_uninit_ref

also add INFO.md file explaining the purpose of the ptr/docs dir, and give some pointers (heh) to future maintainers.

follow up to rust-lang/rust#142101

part of rust-lang/rust#139190

r? `@workingjubilee`
</content>
</entry>
<entry>
<title>core::ptr: deduplicate docs for as_ref, addr, and as_uninit_ref</title>
<updated>2025-09-10T16:00:08+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-06-10T21:35:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d50a80e1d0e655524a3c0dff1f55d7c667314184'/>
<id>urn:sha1:d50a80e1d0e655524a3c0dff1f55d7c667314184</id>
<content type='text'>
also add INFO.md file explaining the purpouse of the ptr/docs dir.
</content>
</entry>
<entry>
<title>Rollup merge of #144765 - Qelxiros:range-inclusive-last, r=jhpratt</title>
<updated>2025-09-10T12:17:37+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-10T12:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0ba5e33ff7e05f6ccd365fe97b822e33beaed6b'/>
<id>urn:sha1:d0ba5e33ff7e05f6ccd365fe97b822e33beaed6b</id>
<content type='text'>
inclusive `Range`s: change `end` to `last`

Tracking issue: rust-lang/rust#125687
ACP: rust-lang/libs-team#511
</content>
</entry>
<entry>
<title>Rollup merge of #146326 - cyrgani:int-module-1, r=jhpratt</title>
<updated>2025-09-09T04:35:06+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-09T04:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fde2ef616d350634f5bfe8664b3acdbd6cdcdd64'/>
<id>urn:sha1:fde2ef616d350634f5bfe8664b3acdbd6cdcdd64</id>
<content type='text'>
simplify the declaration of the legacy integer modules (`std::u32` etc.)

This PR removes some duplicated code from the declaration of the legacy integer modules by expanding the macro which is already used to generate `MIN` and `MAX` to now generate the whole module.
This would also make the remaining steps listed in rust-lang/rust#68490 such as fully deprecating the modules or placing `#[doc(hidden)]` on them easier.
</content>
</entry>
<entry>
<title>Rollup merge of #146324 - RalfJung:no-ptr-fragment, r=oli-obk</title>
<updated>2025-09-09T04:35:05+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-09T04:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=915f9ff1602e6c8cf3b5ae29da58b932a91449c6'/>
<id>urn:sha1:915f9ff1602e6c8cf3b5ae29da58b932a91449c6</id>
<content type='text'>
const-eval: disable pointer fragment support

This fixes https://github.com/rust-lang/rust/issues/146291 by disabling pointer fragment support for const-eval. I want to properly fix this eventually, but won't get to it in the next few weeks, so this is an emergency patch to prevent the buggy implementation from landing on stable. The beta cutoff is on Sep 12th so if this PR lands after that, we'll need a backport.
</content>
</entry>
<entry>
<title>Rollup merge of #146314 - cyrgani:hide-fmt-args-nl, r=GuillaumeGomez</title>
<updated>2025-09-09T04:35:04+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-09T04:35:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b543b1444b998cabb5d60823ae73dde8e577d10f'/>
<id>urn:sha1:b543b1444b998cabb5d60823ae73dde8e577d10f</id>
<content type='text'>
mark `format_args_nl!` as `#[doc(hidden)]`

The `#[unstable]` attribute of the macro already says:

&gt; `format_args_nl` is only for internal language use and is subject to change

It does seem plausible to hide it from the `std` docs accordingly.

The PR also removes the single usage of the macro outside of `std` as it does not seem like the macro is actually needed there.
</content>
</entry>
</feed>
