46f9e878f6
Tracking issue: https://github.com/rust-lang/rust/issues/65815
10 lines
432 B
Plaintext
10 lines
432 B
Plaintext
error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `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`.
|