1
Fork 0

Rollup merge of #116161 - Soveu:varargs2, r=cjgillot

Stabilize `extended_varargs_abi_support`

I think that is everything? If there is any documentation regarding `extern` and/or varargs to correct, let me know, some quick greps suggest that there might be none.

Tracking issue: https://github.com/rust-lang/rust/issues/100189
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-11-30 12:56:50 +08:00 committed by GitHub
commit dd99f11ef8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 12 additions and 124 deletions

View file

@ -1,4 +1,4 @@
error[E0045]: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `system`, `aapcs`, `win64`, `sysv64` or `efiapi`
--> $DIR/E0045.rs:1:17
|
LL | extern "Rust" { fn foo(x: u8, ...); }