diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-08-23 16:41:31 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-12-13 14:00:07 +0100 |
commit | bba14a0790f0858f76118bbb9b3a8231eb241138 (patch) | |
tree | 087a2009ff66ba8f5376d1acd2a510ca370dabbf /gcc/function-tests.cc | |
parent | fe6264fa28a37ccbfb0e03798d1cbb11e09d1971 (diff) | |
download | gcc-bba14a0790f0858f76118bbb9b3a8231eb241138.zip gcc-bba14a0790f0858f76118bbb9b3a8231eb241138.tar.gz gcc-bba14a0790f0858f76118bbb9b3a8231eb241138.tar.bz2 |
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.
Diffstat (limited to 'gcc/function-tests.cc')
0 files changed, 0 insertions, 0 deletions