Skip to content

Call destructor of global variable - #653

Merged
nunoplopes merged 3 commits into
Cpp2Rust:masterfrom
lucic71:18-static-destructors
Nov 18, 2026
Merged

nunoplopes merged 3 commits into
Cpp2Rust:masterfrom
lucic71:18-static-destructors

Conversation

@lucic71

@lucic71 lucic71 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #379

Same solution will be needed to translate std::atexit

@nunoplopes
nunoplopes merged commit a14d133 into Cpp2Rust:master Nov 18, 2026
9 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.

Destructors of global variables are not called

2 participants