GCC Rust Weekly Status Report 55

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

Milestone Progress

In this past week, we have almost closed our imports and visibility. The missing piece is the automated tests using dejagnu. The LTO test suite has support for multiple objects linked together, but we need some tweaks to this and for this to be available regardless of LTO support. We could merge this and close out the milestone, but it’s better to hold off and merge this with the automated tests; all the while, Arthur has been pushing forward with the const-generics milestone, along side Faisal Abbas who is porting over constexpr support from the CPP front-end.

Completed Activities

  • Porting more constexpr code PR1350 PR1356 PR1369
  • Support keyword self path in expressions and types PR1346
  • Add new -frust-dump-pretty for our new AST dump mechanism PR1353
  • Cleanup header and source file declarations PR1359 PR1371 PR1372
  • Add name resolution to const-generic parameters PR1354
  • Implement disambiguation of const-generic arguments PR1355
  • Fix bad ABI enum switch PR1368
  • Add extern blocks to new AST dump pass PR1365
  • Support optional nullptr linemap PR1364
  • Refactor lexer to support internal buffers as well as file sources PR1363
  • Fix use after move PR1370
  • Add initial support for match expression on Tuples PR1367
  • Refactor our mappings class across crates PR1366
  • Remove unused code PR1374
  • Support missing ABI options PR1375

Contributors this week

Overall Task Status

CategoryLast WeekThis WeekDelta
TODO152151-1
In Progress2827-1
Completed405410+5
GitHub Issues

Test Cases

CategoryLast WeekThis WeekDelta
Passing63956442+47
Failed
XFAIL3131
XPASS
make check-rust

Bugs

CategoryLast WeekThis WeekDelta
TODO5757
In Progress1111
Completed169170+1
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 Visibility97%98%+1%29th Mar 202227th May 2022
Const Generics15%30%+15%30th May 202229th Aug 2022
Intrinsics0%0%6th Sept 202230th Sept 2022
GitHub Milestones

Risks

RiskImpact (1-3)Likelihood (0-10)Risk (I * L)Mitigation
Rust Language Changes2714Target specific Rustc version for first go
Going over target dates2714Maintain status reports and issue tracking to stakeholders

Planned Activities

  • Finish dejagnu work to automate testing of linking crates
  • Investigate type checking const-generic arguments
  • Work on overflow traps

Leave a Reply

Your email address will not be published.