GCC Rust Weekly Status Report 7 – New Contributors

An exciting start to March with two new contributors lets welcome:

There are several streams of work going on in GCC Rust this month, opening up with issue-248, GCC has 2 loggers currently one in the JIT project and one in the analyzer project from David Malcolm logging has always been a useful debugging tool and instead of rolling out own debugger we want to reuse one from GCC. There is already a proposed patch on the GCC-Patches mailing list. The next piece is generics on functions and impl blocks; this is still in progress and breaks down into several changes, one where we separate the usage of FNDEF in the TyTy module into FN and FNPTR, function pointers were reusing the FNDEF type, which was never quite right since function pointers cannot have substitutions but function definitions can.

The test suite bug which allowed test that must fail to pass has been fixed, which brought to the front several bugs and a refactoring effort to clean up the TyTy module, which is core to this compiler.

Completed Activities

  • Fix for bad symbol names when assembling code with methods (we are missing name mangling) – f87952
  • Ensure only TupleStructs can be constructed using CallExpr – 2a7cbe
  • Fix bad type resolution with for examples with and without dead code – 65e068
  • Fix for test suite allowing tests which must fail to pass – PR261
  • Remove UnitType TyTy representation and reuse empty Tuple Type (awaiting copyright assignment) – ISSUE-252
  • Remove unused code – PR264

Overall Task Status

Last WeekThis WeekDelta
TODO5354+1
In Progress33
Completed7881+3
GitHub Issues

Test Cases

Last WeekThis WeekDelta
Passing10081016+8
Failed00
make check-rust

Bugs

Last WeekThis WeekDelta
TODO67+1
In Progress11
Completed1718+1
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 241%48%+7%11th Feb 202128st May 2021
Data Structures 30%0%27th Aug 2021
Control Flow 20%0%29th Oct 2021
Imports and Visibility0%0%TBD
GitHub Milestones

Risks

RiskImpact (1-3)Likelihood (0-10)Risk (I * L)Mitigation
Copyright assignments2510Be up front on all PRs that the code is destined to be upstreamed to FSF

Planned Activities

  • Generics on impl blocks and methods
  • Type Resolution documentation
  • Blog Post
  • Println and assert_eq macro interception

Leave a Reply

Your email address will not be published. Required fields are marked *