Skip to content

2024 edition fixes: unsafe blocks in unsafe functions and externs - #567

Open
ShadowRZ wants to merge 2 commits into
rust-windowing:masterfrom
ShadowRZ:shadowrz/unsafe-extern-fn
Open

ShadowRZ wants to merge 2 commits into
rust-windowing:masterfrom
ShadowRZ:shadowrz/unsafe-extern-fn

Conversation

@ShadowRZ

@ShadowRZ ShadowRZ commented Nov 3, 2026

Copy link
Copy Markdown

2024 edition crates requires gl_generator to add unsafe to extern "system" for StaticGenerator and StaticStructGenerator (otherwise it will not compile).

Also fixed an warning regarding calling unsafe functions in unsafe functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant