about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-01-31 00:25:34 -0500
committerGitHub <noreply@github.com>2025-01-31 00:25:34 -0500
commitb249760c513cdf6aa9e64cafd3893b6df0bf5bbe (patch)
tree5e9cf9c22f3056c7f4037243e1982bb37f2a176e /compiler/rustc_codegen_gcc
parent6c1d960d88dd3755548b3818630acb63fa98187e (diff)
parent395f0c9ecd1c3f238707c7a0788e4b1d84e2e70e (diff)
downloadrust-b249760c513cdf6aa9e64cafd3893b6df0bf5bbe.tar.gz
rust-b249760c513cdf6aa9e64cafd3893b6df0bf5bbe.zip
Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay
Stabilize `const_black_box`

This has been unstably const since #92226, but a tracking issue was never created. Per [discussion on Zulip][zulip], 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.

[zulip]: 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
  */