Skip to content

transpile: Remove static_initializer_is_unsafe#1745

Merged
ahomescu merged 2 commits intoimmunant:masterfrom
Rua:remove-static_initializer_is_unsafe
May 8, 2026
Merged

transpile: Remove static_initializer_is_unsafe#1745
ahomescu merged 2 commits intoimmunant:masterfrom
Rua:remove-static_initializer_is_unsafe

Conversation

@Rua
Copy link
Copy Markdown
Contributor

@Rua Rua commented Apr 16, 2026

This was already slated for removal in a TODO comment, and it doesn't seem like it's actually needed. WithStmts is handling everything already. Removing this function helps a little towards #1736 as well.

@Rua Rua force-pushed the remove-static_initializer_is_unsafe branch from 567239b to 7ae9934 Compare April 16, 2026 22:20
@Rua Rua marked this pull request as ready for review April 16, 2026 22:44
Comment thread c2rust-transpile/src/with_stmts.rs Outdated
@Rua Rua force-pushed the remove-static_initializer_is_unsafe branch 2 times, most recently from 758a5ec to b71b975 Compare April 24, 2026 09:23
@Rua Rua marked this pull request as draft April 26, 2026 17:53
@Rua Rua force-pushed the remove-static_initializer_is_unsafe branch from b71b975 to 3dfa479 Compare May 7, 2026 08:30
@Rua Rua marked this pull request as ready for review May 7, 2026 09:02
@Rua Rua force-pushed the remove-static_initializer_is_unsafe branch from 3dfa479 to 6f8ad2e Compare May 8, 2026 22:02
@ahomescu ahomescu merged commit 35eee04 into immunant:master May 8, 2026
10 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.

2 participants