From 4898ad3139334dcf943243f4adb7d1ea107a019c Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Mon, 12 Oct 2020 22:09:05 +0300 Subject: [PATCH] Move global options to main.rs --- nucleus/src/arch/aarch64/boot.rs | 4 ---- nucleus/src/main.rs | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nucleus/src/arch/aarch64/boot.rs b/nucleus/src/arch/aarch64/boot.rs index f89a887..2e16c46 100644 --- a/nucleus/src/arch/aarch64/boot.rs +++ b/nucleus/src/arch/aarch64/boot.rs @@ -4,10 +4,6 @@ * Based on ideas from Jorge Aparicio, Andre Richter, Phil Oppenheimer. * Copyright (c) 2019 Berkus Decker */ - -#![deny(missing_docs)] -#![deny(warnings)] - use { crate::endless_sleep, cortex_a::{asm, regs::*}, diff --git a/nucleus/src/main.rs b/nucleus/src/main.rs index 091f437..c7e37fb 100644 --- a/nucleus/src/main.rs +++ b/nucleus/src/main.rs @@ -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;