feat(ld.so): enable warnings just for ld.so

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2024-12-18 01:17:34 +11:00
parent 959982b8a4
commit 30970e111a
+4
View File
@@ -1,5 +1,9 @@
//! Dynamic loading and linking.
// FIXME(andypython): remove this when #![allow(warnings, unused_variables)] is
// dropped from src/lib.rs.
#![warn(warnings, unused_variables)]
use core::{mem, ptr};
use goblin::elf::program_header::{self, program_header32, program_header64, ProgramHeader};