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