We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369e746 commit defe0a0Copy full SHA for defe0a0
src/lib.rs
@@ -220,6 +220,7 @@ impl Not for Choice {
220
/// code may break in a non-destructive way in the future, “constant-time” code
221
/// is a continually moving target, and this is better than doing nothing.
222
#[inline(never)]
223
+#[cfg(not(feature = "core_hint_black_box"))]
224
fn black_box<T: Copy>(input: T) -> T {
225
unsafe {
226
// Optimization barrier
0 commit comments