Skip to content

Commit 408fdfa

Browse files
committed
Support build in debug mode
1 parent 4385085 commit 408fdfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ unsafe impl GlobalAlloc for GlobalAllocator {
108108
}
109109

110110
#[cfg_attr(all(target_os = "none", not(test)), global_allocator)]
111-
pub static GLOBAL_ALLOCATOR: GlobalAllocator = GlobalAllocator::new();
111+
static GLOBAL_ALLOCATOR: GlobalAllocator = GlobalAllocator::new();
112112

113113
#[cfg(all(target_os = "none", not(test)))]
114114
#[alloc_error_handler]

0 commit comments

Comments
 (0)