https://gcc.gnu.org/g:5e65e44a0edd03543fdba2039b3937239091067d

commit r17-5438-g5e65e44a0edd03543fdba2039b3937239091067d
Author: Enes Cevik <[email protected]>
Date:   Mon Sep 28 15:27:35 2026 +0300

    gccrs: alloc: Test until typecheck
    
    gcc/testsuite/ChangeLog:
    
            * rust/alloc/alloc.exp: Switch from testing alloc until
            nameresolution to testing alloc until typecheck.
    
    Signed-off-by: Enes Cevik <[email protected]>

Diff:
---
 gcc/testsuite/rust/alloc/alloc.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/rust/alloc/alloc.exp 
b/gcc/testsuite/rust/alloc/alloc.exp
index 7e6331cab90d..76cc0a564886 100644
--- a/gcc/testsuite/rust/alloc/alloc.exp
+++ b/gcc/testsuite/rust/alloc/alloc.exp
@@ -37,7 +37,7 @@ if { [check_effective_target_lp64] } {
                $srcdir/$subdir/alloc/* \
        ]]
 
-       dg-runtest $srcdir/$subdir/alloc/src/lib.rs "-frust-edition=2018 
-frust-crate=alloc -frust-compile-until=nameresolution 
-frust-cfg=target_has_atomic=\"ptr\" -w" ""
+       dg-runtest $srcdir/$subdir/alloc/src/lib.rs "-frust-edition=2018 
-frust-crate=alloc -frust-compile-until=typecheck 
-frust-cfg=target_has_atomic=\"ptr\" -w" ""
        set dg-do-what-default ${saved-dg-do-what-default}
 } else {
        unsupported "alloc crate tests require a 64-bit target "

Reply via email to