aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2024-02-01 04:14:45 +0100
committerTianhao Wang <wth@riseup.net>2024-02-01 04:14:45 +0100
commit79ab357c2ecf84c5cb9c8c588f2e0ccf02eb4209 (patch)
treea3d9ff4e3a56606c18b76dfcbbcd713e803e5417 /src
parente9417e499eed7d37b0c0930f3a7e8a56e9570b9d (diff)
Allow dead_code and unused_imports at crate level
to make the linter shutup.... You stupid linter, this is a new project! ofc there are stuffs defined not used.... I'll let you do the job when I finish... :(
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 04b51f1..459deef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,6 @@
+#![allow(dead_code)]
+#![allow(unused_imports)]
+
#![no_std]
#![no_main]
mod arch;