Thank you Thomas, good catch!

On 4/17/26 3:29 PM, Thomas Schwinge wrote:
Always good to be comprehensive when mass-editing files, but the '[...].exp'
test suite harness files are good already without 'no_core' annotation.  ;-)

Minor fix-up for Rust-GCC/gccrs#4407
commit 92b6926a85e4c5eeb78d4e930dbc44130240f8bd
"gccrs: Add `#![no_core]` attribute to most tests".

        gcc/testsuite/
        * rust/compile/macros/builtin/builtin_macro.exp: Revert previous change.
        * rust/compile/macros/mbe/mbe_macro.exp: Likewise.
        * rust/compile/macros/proc/proc_macro.exp: Likewise.
        * rust/compile/torture/compile.exp: Likewise.
        * rust/compile/xfail/xfail.exp: Likewise.
---
  gcc/testsuite/rust/compile/macros/builtin/builtin_macro.exp | 3 ---
  gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp         | 3 ---
  gcc/testsuite/rust/compile/macros/proc/proc_macro.exp       | 3 ---
  gcc/testsuite/rust/compile/torture/compile.exp              | 3 ---
  gcc/testsuite/rust/compile/xfail/xfail.exp                  | 3 ---
  5 files changed, 15 deletions(-)

diff --git a/gcc/testsuite/rust/compile/macros/builtin/builtin_macro.exp 
b/gcc/testsuite/rust/compile/macros/builtin/builtin_macro.exp
index c9f8054185e0..2c3be80b0146 100644
--- a/gcc/testsuite/rust/compile/macros/builtin/builtin_macro.exp
+++ b/gcc/testsuite/rust/compile/macros/builtin/builtin_macro.exp
@@ -1,6 +1,3 @@
-#![feature(no_core)]
-#![no_core]
-
  # Copyright (C) 2021-2026 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
diff --git a/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp 
b/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp
index c9f8054185e0..2c3be80b0146 100644
--- a/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp
+++ b/gcc/testsuite/rust/compile/macros/mbe/mbe_macro.exp
@@ -1,6 +1,3 @@
-#![feature(no_core)]
-#![no_core]
-
  # Copyright (C) 2021-2026 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
diff --git a/gcc/testsuite/rust/compile/macros/proc/proc_macro.exp 
b/gcc/testsuite/rust/compile/macros/proc/proc_macro.exp
index c9f8054185e0..2c3be80b0146 100644
--- a/gcc/testsuite/rust/compile/macros/proc/proc_macro.exp
+++ b/gcc/testsuite/rust/compile/macros/proc/proc_macro.exp
@@ -1,6 +1,3 @@
-#![feature(no_core)]
-#![no_core]
-
  # Copyright (C) 2021-2026 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
diff --git a/gcc/testsuite/rust/compile/torture/compile.exp 
b/gcc/testsuite/rust/compile/torture/compile.exp
index 5a101ac23bd2..18ed8c039707 100644
--- a/gcc/testsuite/rust/compile/torture/compile.exp
+++ b/gcc/testsuite/rust/compile/torture/compile.exp
@@ -1,6 +1,3 @@
-#![feature(no_core)]
-#![no_core]
-
  # Copyright (C) 2021-2026 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
diff --git a/gcc/testsuite/rust/compile/xfail/xfail.exp 
b/gcc/testsuite/rust/compile/xfail/xfail.exp
index d9f6c007ae2a..ac318865794d 100644
--- a/gcc/testsuite/rust/compile/xfail/xfail.exp
+++ b/gcc/testsuite/rust/compile/xfail/xfail.exp
@@ -1,6 +1,3 @@
-#![feature(no_core)]
-#![no_core]
-
  # Copyright (C) 2021-2026 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify

Attachment: OpenPGP_0x1B3465B044AD9C65.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to