Skip to content

Conversation

thejpster
Copy link
Member

The change for #[used] in Rust 1.89 causes linker errors when compiling this library for a Linux target (and probably other OSes as well). So now only emit this global variable when target_os is none.

The change for `#[used]` in Rust 1.89 causes linker errors when compiling
this library for a Linux target (and probably other OSes as well). So
now only emit this global variable when target_os is none.
@thejpster
Copy link
Member Author

thejpster commented Aug 12, 2025

Oops - also fix the example code which cargo test finds and fails on.

Clippy issues are fixed by #942

This was referenced Aug 12, 2025
@thejpster thejpster merged commit b08e830 into main Aug 12, 2025
86 of 98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant