Landing: 16f795c742cd
Project / Subsystem
gcc / gccrs
Date
2026-09-11
Author
Owen Avery
Commit
16f795c742cd1c1bc6fa77099d5c1aae85e5cda9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 16f795c742cd1c1bc6fa77099d5c1aae85e5cda9
- source_type
- github
- headline
- gccrs: Test alloc crate with Rust edition 2018
- tldr
- Updates gccrs test suite to use Rust edition 2018 for testing the alloc crate.
- author
- Owen Avery
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • test
- • alloc
- • edition
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-11T00:00:00.000Z
This commit updates the GCC Rust compiler’s test suite to use Rust edition 2018 when testing the alloc crate. Previously, the mock core crate used did not support edition 2018. This change modifies the alloc.exp test file to use the newer edition and adjusts the mock core.rs to fix its use declarations and use raw identifiers for ‘try’, ensuring compatibility with edition 2018.