Skip to content

Library lock file update - #7

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lock-file-maintenance-library-lock-file-maintenance
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lock-file-maintenance-library-lock-file-maintenance

Conversation

@renovate

@renovate renovate Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

r? dep-bumps

⚠️ Supply chain security safety: wait 3 days until the last commit to this PR before running bors try or bors r+

🔧 This Pull Request updates lock files to use the latest dependency versions.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 8fb57f3 to 3310366 Compare July 31, 2026 09:16
@renovate renovate Bot changed the title Library lock file maintenance Library lock file update Aug 7, 2026
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
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 3310366 to a2bd907 Compare August 13, 2026 11:22
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from a2bd907 to 7940376 Compare August 27, 2026 08:19
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 7940376 to 4f53ac0 Compare September 4, 2026 16:29
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 4f53ac0 to b25f4b9 Compare September 20, 2026 01:38
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from b25f4b9 to 2ff70ca Compare October 2, 2026 12:19
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 2ff70ca to a7f0794 Compare October 15, 2026 00:05
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from a7f0794 to 8265bb3 Compare October 24, 2026 04:18
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance-library-lock-file-maintenance branch from 8265bb3 to 2cde056 Compare November 21, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants