about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-01-12 20:18:45 +0000
committerTrevor Gross <tmgross@umich.edu>2025-01-27 07:54:58 +0000
commit395f0c9ecd1c3f238707c7a0788e4b1d84e2e70e (patch)
tree4517283898ca344c5187e59b349a1b356fa7806b /compiler/rustc_codegen_gcc
parent633a3fe36dd9a5196054dc3a61adbd3c61854dcf (diff)
downloadrust-395f0c9ecd1c3f238707c7a0788e4b1d84e2e70e.tar.gz
rust-395f0c9ecd1c3f238707c7a0788e4b1d84e2e70e.zip
Stabilize `const_black_box`
This has been unstably const since [1], but a tracking issue was never
created. Per discussion on Zulip [2], there should not be any blockers
to making this const-stable. The function does not provide any
functionality at compile time but does allow code reuse between const-
and non-const functions, so stabilize it here.

[1]: https://github.com/rust-lang/rust/pull/92226
[2]: https://rust-lang.zulipchat.com/#narrow/channel/146212-t-compiler.2Fconst-eval/topic/const_black_box
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/tests/run/int.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/int.rs b/compiler/rustc_codegen_gcc/tests/run/int.rs
index bfe73c38435..58a26801b67 100644
--- a/compiler/rustc_codegen_gcc/tests/run/int.rs
+++ b/compiler/rustc_codegen_gcc/tests/run/int.rs
@@ -3,8 +3,6 @@
 // Run-time:
 //   status: 0
 
-#![feature(const_black_box)]
-
 /*
  * Code
  */