https://gcc.gnu.org/g:a3fd60f089d8b55406981889cd6db302f07354f4
commit r17-3130-ga3fd60f089d8b55406981889cd6db302f07354f4 Author: Owen Avery <[email protected]> Date: Fri Jul 31 19:54:37 2026 -0400 gccrs: Test libcore compilation until lowering This slows down the testsuite a bit (4 minutes on my PC, without parallelization, about 10 minutes on github CI runners), but we need libcore to compile (and therefore need to be verifying that it does). gcc/testsuite/ChangeLog: * rust/core/core.exp: Compile until lowering phase, avoid spamming the logs with debug messages in an attempt to speed up compilation, and increase test timeout from 600 seconds to 1200 seconds. Signed-off-by: Owen Avery <[email protected]> Diff: --- gcc/testsuite/rust/core/core.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/rust/core/core.exp b/gcc/testsuite/rust/core/core.exp index 8f6ab9237329..d2efe4298245 100644 --- a/gcc/testsuite/rust/core/core.exp +++ b/gcc/testsuite/rust/core/core.exp @@ -28,9 +28,9 @@ dg-init set saved-dg-do-what-default ${dg-do-what-default} set dg-do-what-default "compile" -set individual_timeout 600 +set individual_timeout 1200 dg-additional-files [lsort [glob -nocomplain $srcdir/../../libgrust/rustc-lib/*]] -dg-runtest $srcdir/../../libgrust/rustc-lib/core/src/lib.rs "-frust-edition=2018 -frust-crate=core -frust-compile-until=attributecheck -w" "" +dg-runtest $srcdir/../../libgrust/rustc-lib/core/src/lib.rs "-fno-rust-debug -frust-edition=2018 -frust-crate=core -frust-compile-until=lowering -w" "" set dg-do-what-default ${saved-dg-do-what-default} # All done.
