build asm with werror

This commit is contained in:
pantonshire committed 2024-08-25 11:19:07 +01:00
1 parent 465da6e7cd
commit d55d71059f
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -3,4 +3,5 @@
[org BOOT1_LOADPOINT] [org BOOT1_LOADPOINT]
[bits 16] [bits 16]
hlt prelude:
hlt
+4 -1
View File
@@ -56,7 +56,10 @@ impl Nasm {
} }
let mut cmd = Command::new(&self.bin_path); let mut cmd = Command::new(&self.bin_path);
cmd.arg("-f").arg("bin"); cmd
.arg("-f")
.arg("bin")
.arg("-Werror");
for include in includes { for include in includes {
let mut buf = OsString::new(); let mut buf = OsString::new();