blob: 8884fc6fb2af78a2b9a26d298e17bdce3a03c18e (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `aapcs`, `win64`, `sysv64` or `efiapi`
--> $DIR/variadic-ffi-2.rs:4:11
|
LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
error: aborting due to previous error
For more information about this error, try `rustc --explain E0045`.
|