GCC Rust Weekly Status Report 9

Milestone Progress

As part of my on going work into generics this milestone breaks down into 3 major pieces of work:

  • ADT (algebraic data type) with generic params
  • Function with generic params
  • Impl blocks with generic params

The first piece is in and merged the 2nd one is an open PR over on PR297. This implements recursive generics and generic functions. The branch is currently being cleaned up before it will be merged. This has been an effort of several weeks to get right. Aside from these three pieces of work, there are smaller tasks in generics in terms of parameter binding which will be done once these sub-tasks are done first.

Open PRs

The project has received many contributions which has been very exciting, but as this project is destined to be upstream with GCC we do have to follow the rules with regards to copyright assignment (https://gcc.gnu.org/contribute.html). There are several PR’s that have been stalled waiting for copyright assignment which we hope to merge as soon as the paperwork is signed:

  • Testsuite updates: PR301
  • Refactor UnitType to reuse empty TupleType like Rustc: PR286
  • Fix crash on zero-length arrays: PR288

Completed Activities

  • Fix default of decimal numbers to f64 instead of f32 – PR294
  • Fix type resolution on inference variables in final expressions – PR298
  • Cleanup the overloaded-virtual build warnings – PR287

Overall Task Status

Last WeekThis WeekDelta
In Progress43-1
GitHub Issues

Test Cases

Last WeekThis WeekDelta
make check-rust


Last WeekThis WeekDelta
In Progress00
GitHub Bugs

Milestones Progress

MilestoneLast WeekThis WeekDeltaStart DateCompletion DateTarget
Data Structures 1100%100%30th Nov 202027th Jan 202129th Jan 2021
Control Flow 1100%100%28th Jan 202110th Feb 202126th Feb 2021
Data Structures 255%60%+5%11th Feb 202128th May 2021
Data Structures 30%0%27th Aug 2021
Control Flow 20%0%29th Oct 2021
Imports and Visibility0%0%TBD
GitHub Milestones


RiskImpactLikelihoodRisk (I * L)Mitigation
Copyright assignments2510Be up front on all PRs that the code is destined to be upstreamed to FSF

Planned Activities

  • Finish PR for generics on functions
  • Type Resolution documentation

Leave a Reply

Your email address will not be published.