Move global options to main.rs
This commit is contained in:
parent
2f663f61de
commit
4898ad3139
|
@ -4,10 +4,6 @@
|
|||
* Based on ideas from Jorge Aparicio, Andre Richter, Phil Oppenheimer.
|
||||
* Copyright (c) 2019 Berkus Decker <berkus+vesper@metta.systems>
|
||||
*/
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(warnings)]
|
||||
|
||||
use {
|
||||
crate::endless_sleep,
|
||||
cortex_a::{asm, regs::*},
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#![feature(custom_test_frameworks)]
|
||||
#![test_runner(crate::tests::test_runner)]
|
||||
#![reexport_test_harness_main = "test_main"]
|
||||
#![deny(missing_docs)]
|
||||
#![deny(warnings)]
|
||||
|
||||
#[cfg(not(target_arch = "aarch64"))]
|
||||
use architecture_not_supported_sorry;
|
||||
|
|
Loading…
Reference in New Issue