blob: 4c8b8d2b2e1a960bf81069868517a72ac7f6cf67 [file] [log] [blame]
error[E0045]: C-variadic function must have C or cdecl calling convention
--> $DIR/variadic-ffi-2.rs:3:11
|
LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadics require C or cdecl calling convention
error: aborting due to previous error
For more information about this error, try `rustc --explain E0045`.