tidy up lints and add zero_ptr

This commit is contained in:
auronandace
2026-02-07 14:58:02 +00:00
parent 12dc6766de
commit 4a84b2f04c
4 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ pub struct RTLDDebug {
impl RTLDDebug {
const NEW: Self = RTLDDebug {
r_version: 1,
r_map: 0 as *mut LinkMap,
r_map: ptr::null_mut::<LinkMap>(),
r_brk: _dl_debug_state,
state: RTLDState::RT_CONSISTENT,
r_ldbase: 0,