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]>
---
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/81eeb6894c0c1eed16db720c75d558d4ea3f3487
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/4942
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 7e6331cab..76cc0a564 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 "
base-commit: e6fdf5044492f62d282933854131c52ccb5de6e9
--
2.55.0