[gccrs COMMIT] gccrs: Test libcore compilation until lowering
[email protected] Mon, 3 Aug 2026 09:18:23 +0000
| Newsgroups | gmane.comp.gcc.rust,gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
From: Owen Avery <[email protected]> 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]> --- This change was merged into the gccrs repository and is posted here for upstream visibility and potential drive-by review, as requested by GCC release managers. Each commit email contains a link to its details on github from where you can find the Pull-Request and associated discussions. Commit on github: https://github.com/Rust-GCC/gccrs/commit/9d6f07245f228c8e24d92dbb117c476ec2870a6f The commit has NOT been mentioned in any issue. The commit has been mentioned in the following pull-request(s): - https://github.com/Rust-GCC/gccrs/pull/4743 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 8f6ab9237..d2efe4298 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. base-commit: d02b5ac3d9f99823fee00e0180e830b366ce8ad1 -- 2.54.0