GCC Rust Weekly Status Report 60

Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project.

Milestone Progress

This week saw a lot of improvements to our codebase, with multiple refactors and cleanups of our type system and coercion logic from Philip. This will help ease the mental load when working on complex features, such as the support of Function traits (FnOnce, FnMut and Fn) that Philip is currently adding. On the other hand, the const evaluation GSoC project is moving along nicely. The branch where that development happens is being prepped and rebased in order to merge it into our main branch shortly. Work also continue on compiler intrinsics and builtin functions.

As a reminder, we will be present at the Linux Plumbers Conference, Kangrejos and GNU Cauldron in September. Feel free to come and say hi!

Completed Activities

  • Redo coercion site code PR1492
  • typecheck: resolve tuple pattern elt against parent elt PR1491
  • Refactor backend to use finegrained visitors PR1477
  • unsafe: Allow calls to safe intrinsics PR1474
  • Remove target hooks changes PR1471
  • intrinsics: Add copy_nonoverlapping<T> PR1459

Contributors this week

Overall Task Status

CategoryLast WeekThis WeekDelta
TODO158167+9
In Progress3330-3
Completed437445+9
GitHub Issues

Test Cases

CategoryLast WeekThis WeekDelta
Passing66606675+16
Failed
XFAIL5151
XPASS
make check-rust

Bugs

CategoryLast WeekThis WeekDelta
TODO5452-2
In Progress1417
Completed190193+3
GitHub Bugs

Milestone Progress

MilestoneLast WeekThis WeekDeltaStart DateCompletion DateTarget
Data Structures 1 – Core100%100%30th Nov 202027th Jan 202129th Jan 2021
Control Flow 1 – Core100%100%28th Jan 202110th Feb 202126th Feb 2021
Data Structures 2 – Generics100%100%11th Feb 202114th May 202128th May 2021
Data Structures 3 – Traits100%100%20th May 202117th Sept 202127th Aug 2021
Control Flow 2 – Pattern Matching100%100%20th Sept 20219th Dec 202129th Nov 2021
Macros and cfg expansion100100%1st Dec 202131st Mar 202228th Mar 2022
Imports and Visibility100%100%29th Mar 202213th Jul 202227th May 2022
Const Generics55%60%+5%30th May 202217th Oct 2022
Intrinsics0%0%6th Sept 202214th Nov 2022
GitHub Milestones

Risks

RiskImpact (1-3)Likelihood (0-10)Risk (I * L)Mitigation
Rust Language Changes2714Target specific Rustc version for first go
Missing GCC 13 upstream window166Merge in GCC 14 and be proactive about reviews

Planned Activities

  • Send out gcc patches v2
  • Start merging const evaluation branch into main
  • Prepare our talks for the three upcoming conferences we’ll attend
  • Keep going with the implementation of function traits and closures

Leave a Reply

Your email address will not be published.