Skip to content

transpile: Remove static_initializer_is_unsafe#1745

Open
Rua wants to merge 7 commits intoimmunant:masterfrom
Rua:remove-static_initializer_is_unsafe
Open

transpile: Remove static_initializer_is_unsafe#1745
Rua wants to merge 7 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 from 7ae9934 to 758a5ec Compare April 21, 2026 10:36
@Rua Rua force-pushed the remove-static_initializer_is_unsafe branch from 758a5ec to b71b975 Compare April 24, 2026 09:23
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