From 816f9b7cb300a7f3979b5f29b3677e84a3c28880 Mon Sep 17 00:00:00 2001 From: Vaze Date: Mon, 25 May 2026 10:25:45 +0200 Subject: Created a .gitignore to remove nasty build artifacts and created a Makefile.toml for cargo make to automate bootloader build process. --- .../.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 bootloader/target/debug/.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader (limited to 'bootloader/target/debug/.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader') diff --git a/bootloader/target/debug/.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader b/bootloader/target/debug/.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader deleted file mode 100644 index 7d73a85..0000000 --- a/bootloader/target/debug/.fingerprint/bootloader-efcfade955771af7/output-bin-bootloader +++ /dev/null @@ -1,5 +0,0 @@ -{"$message_type":"diagnostic","message":"format argument must be a string literal","code":null,"level":"error","spans":[{"file_name":"src/main.rs","byte_start":710,"byte_end":714,"line_start":33,"line_end":33,"column_start":12,"column_end":16,"is_primary":true,"text":[{"text":" print!(dump);","highlight_start":12,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"you might be missing a string literal to format with","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":710,"byte_end":710,"line_start":33,"line_end":33,"column_start":12,"column_end":12,"is_primary":true,"text":[{"text":" print!(dump);","highlight_start":12,"highlight_end":12}],"label":null,"suggested_replacement":"\"{}\", ","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: format argument must be a string literal\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:33:12\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m33\u001b[0m \u001b[1m\u001b[94m|\u001b[0m print!(dump);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[91m^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[96mhelp\u001b[0m: you might be missing a string literal to format with\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m33\u001b[0m \u001b[1m\u001b[94m| \u001b[0m print!(\u001b[92m\"{}\", \u001b[0mdump);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[92m+++++\u001b[0m\n\n"} -{"$message_type":"diagnostic","message":"unwinding panics are not supported without std","code":null,"level":"error","spans":[],"children":[{"message":"using nightly cargo, use -Zbuild-std with panic=\"abort\" to avoid unwinding","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"since the core library is usually precompiled with panic=\"unwind\", rebuilding your crate with panic=\"abort\" may not be enough to fix the problem","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: unwinding panics are not supported without std\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: using nightly cargo, use -Zbuild-std with panic=\"abort\" to avoid unwinding\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: since the core library is usually precompiled with panic=\"unwind\", rebuilding your crate with panic=\"abort\" may not be enough to fix the problem\n\n"} -{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.\n\nErroneous code examples:\n\n```compile_fail,E0308\nfn plus_one(x: i32) -> i32 {\n x + 1\n}\n\nplus_one(\"Not a number\");\n// ^^^^^^^^^^^^^^ expected `i32`, found `&str`\n\nif \"Not a bool\" {\n// ^^^^^^^^^^^^ expected `bool`, found `&str`\n}\n\nlet x: f32 = \"Not a float\";\n// --- ^^^^^^^^^^^^^ expected `f32`, found `&str`\n// |\n// expected due to this\n```\n\nThis error occurs when an expression was used in a place where the compiler\nexpected an expression of a different type. It can occur in several cases, the\nmost common being when calling a function and passing an argument which has a\ndifferent type than the matching type in the function declaration.\n"},"level":"error","spans":[{"file_name":"src/main.rs","byte_start":689,"byte_end":696,"line_start":32,"line_end":32,"column_start":26,"column_end":33,"is_primary":true,"text":[{"text":" let dump = hexdump_c(&kernel);","highlight_start":26,"highlight_end":33}],"label":"expected `&[u8]`, found `&Result, Error>`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":679,"byte_end":688,"line_start":32,"line_end":32,"column_start":16,"column_end":25,"is_primary":false,"text":[{"text":" let dump = hexdump_c(&kernel);","highlight_start":16,"highlight_end":25}],"label":"arguments to this function are incorrect","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"expected reference `&[u8]`\n found reference `&Result, uefi::fs::Error>`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"function defined here","code":null,"level":"note","spans":[{"file_name":"src/main.rs","byte_start":1050,"byte_end":1061,"line_start":45,"line_end":45,"column_start":18,"column_end":29,"is_primary":false,"text":[{"text":"pub fn hexdump_c(data: &[u8]) -> String {","highlight_start":18,"highlight_end":29}],"label":"","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/main.rs","byte_start":1040,"byte_end":1049,"line_start":45,"line_end":45,"column_start":8,"column_end":17,"is_primary":true,"text":[{"text":"pub fn hexdump_c(data: &[u8]) -> String {","highlight_start":8,"highlight_end":17}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0308]\u001b[0m\u001b[1m: mismatched types\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:32:26\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m32\u001b[0m \u001b[1m\u001b[94m|\u001b[0m let dump = hexdump_c(&kernel);\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m---------\u001b[0m \u001b[1m\u001b[91m^^^^^^^\u001b[0m \u001b[1m\u001b[91mexpected `&[u8]`, found `&Result, Error>`\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94marguments to this function are incorrect\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: expected reference `&\u001b[1m\u001b[35m[u8]\u001b[0m`\n found reference `&\u001b[1m\u001b[35mResult, uefi::fs::Error>\u001b[0m`\n\u001b[1m\u001b[92mnote\u001b[0m: function defined here\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:45:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m45\u001b[0m \u001b[1m\u001b[94m|\u001b[0m pub fn hexdump_c(data: &[u8]) -> String {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[92m^^^^^^^^^\u001b[0m \u001b[1m\u001b[94m-----------\u001b[0m\n\n"} -{"$message_type":"diagnostic","message":"aborting due to 3 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m: aborting due to 3 previous errors\u001b[0m\n\n"} -{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0308`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1mFor more information about this error, try `rustc --explain E0308`.\u001b[0m\n"} -- cgit v1.2.3