From 30ffb0b07a0d3a985880b02f76ba023cda6748d9 Mon Sep 17 00:00:00 2001 From: MCorange Date: Thu, 13 Apr 2023 04:59:08 +0300 Subject: [PATCH] Removed warning and disabled dev mode --- src/compile/linux_x86_64.rs | 2 +- src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compile/linux_x86_64.rs b/src/compile/linux_x86_64.rs index dc12d42..572caf7 100644 --- a/src/compile/linux_x86_64.rs +++ b/src/compile/linux_x86_64.rs @@ -1,5 +1,5 @@ use std::{fs, path::PathBuf, io::{Write, BufWriter}, collections::HashMap}; -use crate::{constants::{Operator, OpType, KeywordType}, Args, warn, error, lerror}; +use crate::{constants::{Operator, OpType, KeywordType}, Args, warn, lerror}; use color_eyre::Result; use crate::compile::commands::linux_x86_64_compile_and_link; use crate::constants::InstructionType; diff --git a/src/config.rs b/src/config.rs index c6c1b77..214c4be 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,7 +1,7 @@ /** * Prints out extra information */ -pub const DEV_MODE: bool = true; +pub const DEV_MODE: bool = false; pub const DEFAULT_OUT_FILE: &str = "a.out"; pub const DEFAULT_INCLUDES: [&str;1] = [