From: Enes Cevik <[email protected]>

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]>

Tested on x86_64-pc-linux-gnu.

---
 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 7e6331cab90..76cc0a56488 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 "
-- 
2.55.0

Reply via email to