]> gcc.gnu.org Git - gcc.git/commit
gccrs: Add compiler driver
authorPhilip Herron <philip.herron@embecosm.com>
Tue, 23 Aug 2022 15:41:31 +0000 (16:41 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:07 +0000 (14:00 +0100)
commitbba14a0790f0858f76118bbb9b3a8231eb241138
tree087a2009ff66ba8f5376d1acd2a510ca370dabbf
parentfe6264fa28a37ccbfb0e03798d1cbb11e09d1971
gccrs: Add compiler driver

Our compiler driver is fairly simple so far. The key piece to enforce is
that a compilation unit in Rust is the whole crate, so the process for
compiling Rust means pointing the compiler at the main entry point such as
src/lib.rs or src/main.rs where the expansion pass takes over loading the
other source files to include them in the crate.

gcc/rust/
* rustspec.cc: New.
gcc/rust/rustspec.cc [new file with mode: 0644]
This page took 0.057492 seconds and 6 git commands to generate.