Landing: 133f8ce3e14c

Project / Subsystem

gcc / gccrs

Date

2026-08-16

Author

Lishin

Commit

133f8ce3e14c568ec2bc1ef45b028e56c31e017b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
133f8ce3e14c568ec2bc1ef45b028e56c31e017b
source_type
github
headline
Add execution tests for Drop behavior
tldr
GCC Rust compiler adds comprehensive tests for the `Drop` trait's behavior.
author
Lishin
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • testing
  • • memory management
discussion_id_link
—
bugzilla_pr
—
date
2026-08-16T00:00:00.000Z

GCC Rust (gccrs) now includes additional execution tests covering various scenarios of the Drop trait. These new tests specifically target function parameter drop order, explicit returns, ownership transfers via function arguments and return values, and branch-local value drops. The goal is to ensure robust and correct handling of resource cleanup through the Drop trait in all supported contexts.