GCC Rust Weekly Status Report 13

Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project. Array Capacity and constant folding This week fixed several bugs in the compiler one of the big issues was constant expressions. In rust array capacities must be constant’s the default implementation simply just expected a LiteralExpression but this is […]

GCC Rust Weekly Status Report 7 – New Contributors

An exciting start to March with two new contributors lets welcome: Yizhe https://github.com/YizhePKU – Copyright assignment in progress Marc Poulhiès https://github.com/dkm – Awaiting Copyright assignment 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 […]

GCC Rust Weekly Status Report 6 – Generics WIP

In this weeks status report, multiple pieces of work are in progress. You can find on the repo a branch for adding generics to Algebraic data types. To implement Generics, two significant pieces of work are needed: a ParamTy, a placeholder TyTy to reference of Generic Argument, the other is a Substitution Mapping that allows […]

GCC Rust Weekly Status Report 5 – Loop Expressions

Control flow 1 Milestone as been completed this means the front-end can now handle Block expressions, Loop and While Loop expressions, as well as method resolution. The remaining “For” loop construct has been left out for now. This requires Iterators that will need generics and traits to be implemented first. Since the milestone has been […]

GCC Rust – Weekly Status Report – 1st to 8th Feb 2021

The control flow one milestone is filling in the gaps in basic rust compilation such as impl blocks, method resolution, block expressions and loops. When the PR for block expressions was merged regressions in implicit returns were found via manual testing. The automated test suite failed to pick this up due to a bug in […]