Skip to content

Instantly share code, notes, and snippets.

@bstrie
Created October 9, 2012 15:15
Show Gist options
  • Save bstrie/3859453 to your computer and use it in GitHub Desktop.
Save bstrie/3859453 to your computer and use it in GitHub Desktop.
Rust generated bindings compile error
$ rustc --lib lua.rs
lua.rs:4:15: 4:32 error: use of undeclared type name `__builtin_va_list`
lua.rs:4 type va_list = __builtin_va_list;
^~~~~~~~~~~~~~~~~
lua.rs:5:22: 5:39 error: use of undeclared type name `__builtin_va_list`
lua.rs:5 type __gnuc_va_list = __builtin_va_list;
^~~~~~~~~~~~~~~~~
lua.rs:34:11: 34:26 error: use of undeclared type name `Struct_CallInfo`
lua.rs:34 i_ci: *Struct_CallInfo,
^~~~~~~~~~~~~~~
lua.rs:86:33: 86:46 error: use of undeclared type name `__va_list_tag`
lua.rs:86 ++argp: *__va_list_tag) -> *c_schar;
^~~~~~~~~~~~~
error: aborting due to 4 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment