Hi, my name is Janet, and my GSoC project is about implementing Rust Drop trait support in gccrs, the Rust frontend for GCC.
Here is my status report for the project. As background, last Friday I pushed a draft implementation for simple block-exit drop support: https://github.com/Rust-GCC/gccrs/pull/4564 This week, my goals were: - Address feedback on the draft implementation for simple block-exit drops. - Add more test cases for the currently supported scope. - Start investigating where drop insertion should happen for function-return cases. This week, I worked on: - I received some comments on Monday, and updated the implementation with a new version on Tuesday. - I added more test cases for the currently supported block-exit cases. Current status: - The previous change for adding Drop as a lang item has already been reviewed, approved, and merged: https://github.com/Rust-GCC/gccrs/pull/4559 - Simple block-exit drop cases are currently implemented in the draft implementation: https://github.com/Rust-GCC/gccrs/pull/4564 - Function-return case drops are not implemented yet. I am currently working on them, but simple block-exit cases like the following already work: fn main() { { let _x = Droppable; } } Janet
