ewpratten / ludum-dare-49

A game build over a weekend for Ludum Dare 49, written in Rust, made with raylib.
https://ldj.am/$261521
GNU General Public License v3.0
5 stars 1 forks source link

Windows logging hook failing #7

Closed ewpratten closed 2 years ago

ewpratten commented 2 years ago

See: https://github.com/Ewpratten/ludum-dare-49/runs/3760595022

Need to bump git commit version in Cargo.toml, since I pushed the fix upstream

ewpratten commented 2 years ago
error[E0412]: cannot find type `__va_list_tag` in module `crate::ffi`
Error:   --> C:\Users\runneradmin\.cargo\git\checkouts\raylib-rs-7672dad4f06b4c0e\bdee385\raylib\src\core\log_hooks.rs:27:28
   |
27 |     args: *mut crate::ffi::__va_list_tag,
   |                            ^^^^^^^^^^^^^ not found in `crate::ffi`

For more information about this error, try `rustc --explain E0412`.
error: could not compile `raylib` due to previous error

This issue is caused by a lack of stdarg.h on x64 windows

ewpratten commented 2 years ago

The fix ended up being to just disable that code on Windows. PR has been created upstream: https://github.com/deltaphc/raylib-rs/pull/98

ewpratten commented 2 years ago

CI is back, alive and well: https://github.com/Ewpratten/ludum-dare-49/runs/3768363950