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 233a5d5 commit 072b940Copy full SHA for 072b940
src/libstd/sys/unix/freertos/thread_local.rs
@@ -54,7 +54,7 @@ pub unsafe fn create(dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key {
54
55
#[inline]
56
pub unsafe fn set(key: Key, value: *mut u8) {
57
- #[cfg(debug)]
+ #[cfg(debug_assertions)]
58
{
59
LOCK.read();
60
0 commit comments