Skip to content

Add back in resources destructors to Rust exports - #888

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:add-resource-dtors
Mar 8, 2024
Merged

Add back in resources destructors to Rust exports#888
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
alexcrichton:add-resource-dtors

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This was accidentally left out of my refactoring from #871 meaning that exported Rust resources never actually got their destructors run because the export! macro forgot to drop things.

Closes#887

This was accidentally left out of my refactoring from bytecodealliance#871 meaning that
exported Rust resources never actually got their destructors run because
the `export!` macro forgot to drop things.
Closesbytecodealliance#887
@alexcrichton
alexcrichton requested a review from dicejMarch 8, 2024 19:29
@alexcrichton
alexcrichton added this pull request to the merge queueMar 8, 2024
@alexcrichtonalexcrichton mentioned this pull request Mar 8, 2024
Merged via the queue into bytecodealliance:main with commit 1c7dce6Mar 8, 2024
@alexcrichton
alexcrichton deleted the add-resource-dtors branch March 8, 2024 20:00
Sign up for freeto 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.

[dtor] method is gone from the Rust bindings

2 participants

@alexcrichton@dicej