Skip to content

Commit 072b940

Browse files
committed
Fix attribute name.
1 parent 233a5d5 commit 072b940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/freertos/thread_local.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub unsafe fn create(dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key {
5454

5555
#[inline]
5656
pub unsafe fn set(key: Key, value: *mut u8) {
57-
#[cfg(debug)]
57+
#[cfg(debug_assertions)]
5858
{
5959
LOCK.read();
6060

0 commit comments

Comments
 (0)