2024-01-12 23:05:07 -08:00
|
|
|
error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `system`, `aapcs`, `win64`, `sysv64` or `efiapi`
|
2024-08-07 15:48:16 +02:00
|
|
|
--> $DIR/variadic-ffi-2.rs:5:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
|
2022-08-08 15:31:32 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0045`.
|