From: Parthib <parthibdutt...@gmail.com> gcc/testsuite/ChangeLog:
* lib/rust.exp: Remove timeout. Signed-off-by: Parthib <parthibdutt...@gmail.com> --- gcc/testsuite/lib/rust.exp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gcc/testsuite/lib/rust.exp b/gcc/testsuite/lib/rust.exp index 9513e1c8955..692030cf883 100644 --- a/gcc/testsuite/lib/rust.exp +++ b/gcc/testsuite/lib/rust.exp @@ -168,10 +168,7 @@ proc rust_target_compile { source dest type options } { global gluefile wrap_flags global ALWAYS_RUSTFLAGS global RUST_UNDER_TEST - global individual_timeout - - # HACK: guard against infinite loops in the compiler - set individual_timeout 10 + if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { lappend options "libs=${gluefile}" -- 2.49.0