On Wed, Apr 5, 2023 at 4:06 PM <arthur.co...@embecosm.com> wrote: > > Hi everyone, > > This patchset contains around 80 commits concerning the Rust frontend. > > We have been hard at work trying to get the Rust core library to > compile, and hope to push more commits in the coming days as we try > and upstream a more recent version of gccrs. All of the team has done > a tremendous amount of work in the last few weeks, as we get closer > and closer to compiling libcore 1.49. > > Our focus before GCC 13 releases is to improve the documentation of the > compiler and write more about the various flags used by the frontend, > which a user will need to understand and interact with. > > The commits we will be pushing before GCC 13 releases will not contain > any "major breakthrough", as some functionality required to compile > libcore properly will still take some time to implement. Very often used > Rust macros such as `format_args` are defined within the core library, > and require a high amount of work on the compiler side. > > Furthermore, integrating libcore as part of GCC will require > significant build system changes which are incompatible with the current > GCC stage. We will be making these changes as soon as possible and > integrate a version of libcore in GCC 14, as well as an implementation > of the libproc_macro crate. We will be submitting these patches and > pinging build system experts for extensive reviewing. > > Thank you to everyone involved with the project, and to everyone who > has helped us.
Thanks a lot for the update. I see it's still required to use -frust-incomplete-and-experimental-compiler-do-not-use - for GCC 13.1 I would suggest to instead discourage from distributing rust in the documentation and release notes. Do you expect enough progress until GCC 13.2 (which should be about two to three months after GCC 13.1 is released) so that libcore can be compiled? If not then I'm not sure it makes much sense to keep rust configurable for GCC 13. On the general note - were you planning to keep the GCC 13 branch copy of rust up-to-date with the GCC 14 trunk? Richard. > All the best, > > Arthur > >