Repository navigation
Library lock file update - #7
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
July 31, 2026 09:16
8fb57f3 to
3310366
Compare
marcoieni
pushed a commit
that referenced
this pull request
Aug 10, 2026
…ked-functions, r=tiif stabilize `c_variadic_naked_functions` tracking issue: rust-lang#148767 reference PR: rust-lang/reference#2321 # Stabilization report ## Summary Stabilize the ability to use `#[unsafe(naked)]` functions to define c-variadic functions. These c-variadic naked functions accept the same set of ABIs as c-variadic foreign functions, this set is larger than what we currently accept for c-variadic definitions. ```rust #[unsafe(naked)] unsafe extern "aapcs" fn variadic_aapcs(_: f64, _: ...) -> f64 { core::arch::naked_asm!( r#" sub sp, sp, rust-lang#12 stmib sp, {{r2, r3}} vmov d0, r0, r1 add r0, sp, #4 vldr d1, [sp, #4] add r0, r0, rust-lang#15 bic r0, r0, #7 vadd.f64 d0, d0, d1 add r1, r0, #8 str r1, [sp] vldr d1, [r0] vadd.f64 d0, d0, d1 vmov r0, r1, d0 add sp, sp, rust-lang#12 bx lr "#, ) } ``` ## Accepted ABIs The set of accepted ABIs is the same as for c-variadic foreign functions, defined as rule [`items.extern.variadic.conventions`](https://doc.rust-lang.org/nightly/reference/items/external-blocks.html?highlight=externblo#r-items.extern.variadic.conventions): - `"aapcs"` - `"C"` - `"cdecl"` - `"efiapi"` - `"system"` - `"sysv64"` - `"win64"` And their corresponding `-unwind` variants. Given that naked functions desugar to a block of module assembly and a foreign definition, it makes sense to support the same set as source-level foreign definitions. For c-variadic definitions we only accept `"C"` and `"C-unwind"`. ## Multiple c-variadic ABIs in the same program LLVM supports c-variadic calls of different ABIs in the same program. We test both an arm and x86 configuration - https://github.com/rust-lang/rust/blob/771916f9028e7fe56d2685f2c4f698de5d7d6a45/tests/ui/c-variadic/same-program-multiple-abis-arm.rs - https://github.com/rust-lang/rust/blob/771916f9028e7fe56d2685f2c4f698de5d7d6a45/tests/ui/c-variadic/same-program-multiple-abis-x86_64.rs Note that GCC, Clang and LLVM do not support c-variadic definitions of multiple ABIs: the `va_start`, `va_arg` etc. macros are always expanded using the default C calling convention. Clang and GCC reject a variable argument list on definitions that use a non-default calling convention. ## History - [#t-lang > C-variadic naked functions](https://rust-lang.zulipchat.com/#narrow/channel/213817-t-lang/topic/C-variadic.20naked.20functions/with/554593886) - rust-lang#148770 The stabilization report of `feature(c_variadic)` mentions this feature: - rust-lang#155697 ## Unresolved questions None.
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
August 13, 2026 11:22
3310366 to
a2bd907
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
August 27, 2026 08:19
a2bd907 to
7940376
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
September 4, 2026 16:29
7940376 to
4f53ac0
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
September 20, 2026 01:38
4f53ac0 to
b25f4b9
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
October 2, 2026 12:19
b25f4b9 to
2ff70ca
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
October 15, 2026 00:05
2ff70ca to
a7f0794
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
October 24, 2026 04:18
a7f0794 to
8265bb3
Compare
renovate
Bot
force-pushed
the
renovate/lock-file-maintenance-library-lock-file-maintenance
branch
from
November 21, 2026 12:05
8265bb3 to
2cde056
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
r? dep-bumps
bors tryorbors r+🔧 This Pull Request updates lock files to use the latest dependency versions.
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.