glow
glow copied to clipboard
Add `no_std` support
Based on https://github.com/grovesNL/glow/pull/253.
@CrazyboyQCD it looks like catch_unwind isn't needed anymore for this callback as of Rust 1.81, so we can remove it entirely (https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#abort-on-uncaught-panics-in-extern-c-functions) and keep the code the same between std and no_std
@grovesNL
Some gl bindgens are needed to be changed after marking raw_debug_message_callback as C-unwind, dose that matter?
@grovesNL
As no_std support changes the gl46.rs, and it is generated from script, it will be better to update it in the future.