Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Windows logging hook failing #7

Closed
ewpratten opened this issue Oct 1, 2021 · 3 comments
Closed

Windows logging hook failing #7

ewpratten opened this issue Oct 1, 2021 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ewpratten
Copy link
Owner

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 ewpratten added the bug Something isn't working label Oct 1, 2021
@ewpratten ewpratten added this to the Friday milestone Oct 1, 2021
@ewpratten ewpratten self-assigned this Oct 1, 2021
@ewpratten
Copy link
Owner Author

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
Copy link
Owner Author

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

@ewpratten
Copy link
Owner Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant