Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extension - allow static_mut_refs #10567

Merged
merged 1 commit into from
Dec 20, 2024
Merged

extension - allow static_mut_refs #10567

merged 1 commit into from
Dec 20, 2024

Conversation

PabstMirror
Copy link
Contributor

suppress the warnings (I think this becoming a deny in 1.85)

@PabstMirror PabstMirror added the ignore-changelog Release Notes: Excluded label Dec 18, 2024
@PabstMirror PabstMirror added this to the 3.18.2 milestone Dec 18, 2024
@BrettMayson
Copy link
Member

I can rewrite this to use safe rust. The code now is technically unsafe, but Arma will only ever call the extension from a single thread, so it's fine. Making this safe might have a small performance penalty though

@PabstMirror
Copy link
Contributor Author

I fine with the code as-is, we haven't had any extension problems reported at all
This is just to clean up the warnings (soon to be errors, I think)

@LinkIsGrim LinkIsGrim merged commit c3c32e0 into master Dec 20, 2024
7 checks passed
@LinkIsGrim LinkIsGrim deleted the extSuppress branch December 20, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-changelog Release Notes: Excluded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants