rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
894 stars 61 forks source link

Add rustc command to the build system #483

Closed antoyo closed 3 months ago

GuillaumeGomez commented 3 months ago

Some more details:

Currently we allow to use y.sh cargo to run cargo with our own backend (it adds all required environment variables and the good --sysroot and -Zcodegen-backend options).

The idea here is to allow to run rustc the same way.

antoyo commented 3 months ago

Done in https://github.com/antoyo/rustc_codegen_gcc/pull/15.