From 9a0e9e7f7f1abbad1a2f840448d68c9bc72ae8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Tue, 6 Dec 2022 20:06:53 +0100 Subject: [PATCH] Add special option for gccrs (#4401) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gccrs is still in heavy dev and to avoid anyone missing this crucial info, it has introduced a very explicit option and required option: -frust-incomplete-and-experimental-compiler-do-not-use The compiler emits a very verbose error if this option is missing. refs https://github.com/Rust-GCC/gccrs/pull/1540 Signed-off-by: Marc Poulhiès --- etc/config/rust.amazon.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/config/rust.amazon.properties b/etc/config/rust.amazon.properties index 5e007d6966f..63631a2f8ee 100644 --- a/etc/config/rust.amazon.properties +++ b/etc/config/rust.amazon.properties @@ -161,6 +161,8 @@ compiler.gccrs-snapshot.notification=Rust GCC Frontend - Very early snapshot group.rustgcc.compilerType=gccrs group.rustgcc.compilers=gccrs-snapshot group.rustgcc.groupName=Rust-GCC +## needed, until its support is on-par with rustc (at some arbitrary version). +group.rustgcc.options=-frust-incomplete-and-experimental-compiler-do-not-use group.rustccggcc.compilers=rustccggcc-master compiler.rustccggcc-master.exe=/opt/compiler-explorer/rustc-cg-gcc-master/bin/rustc