GCC Rust Weekly Status Report 54

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

Milestone Progress

As pointed out last week, this week’s progress was a little slower than usual due to Embedded World 2022 and vacation days. Nevertheless, we met a lot of interesting folks and had lovely chats. Thank you to all who visited the Embecosm stand and stopped to say hello! We are still progressing on const generics and have added some more of the necessary steps to handle them: On top of getting parsed, they are now being handled properly in the AST, benefit from the name resolution pass, and then get lowered properly into our HIR. Once that pipelining is done, we will be able to look into plugging these HIR const generics into one of our student’s GSoC project, aimed at properly doing constant folding. On that note, both GSoC students are making very good progress and fixing issues left and right. Thank you to both of you!

Completed Activities

  • Add `line!` macro PR1339
  • Actually set TYPE_PACKED for type_record PR1337
  • cli: add “hir-pretty” as a “dump” option PR1335
  • hir/add: pretty printing visitor skeleton PR1332
  • Fix remaining misuses of format specifiers on 32-bit targets PR1331
  • Add location to HIR::Type base class and improve privacy error reporting PR1330
  • gccrs const folding port: start porting potential_constant_expression… PR1329
  • Lower const generics structures PR1327
  • ast: Add location to ConstGenericArg PR1326
  • Add const generic disambiguation PR1325

Contributors this week

Overall Task Status

CategoryLast WeekThis WeekDelta
TODO153149-4
In Progress2626
Completed398404+6
GitHub Issues

Test Cases

CategoryLast WeekThis WeekDelta
Passing63666387+21
Failed
XFAIL3030
XPASS
make check-rust

Bugs

CategoryLast WeekThis WeekDelta
TODO5656
In Progress1111
Completed169169
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%97%29th Mar 202227th May 2022
Const Generics0%0%30th May 202229th Aug 2022
Intrinsics0%0%6th Sept 202230th Sept 2022
GitHub Milestones

Planned Activities

  • GSoC: Start adding pretty-printing to our HIR now that the visitor framework is in place
  • GSoC: Keep working on porting C++’s constant folder
  • Keep going through our middle-end to support const generics
  • Start looking at plugging const generics into our GSoC’s constfolder project
  • Bug fixing for our goal testcases

Leave a Reply

Your email address will not be published.