Commit Diff


commit - e38ece4fd2fe73e976661ab744ccd78f22b31151
commit + 90b4b8d036e3b3717609c3b4654d56c475d05bda
blob - /dev/null
blob + 5f4ec049e82ced20821de85894efe224255e3790 (mode 644)
--- /dev/null
+++ .cargo/config.toml
@@ -0,0 +1,2 @@
+[build]
+target = ["x86_64-unknown-none"]
blob - d670b08c4f3852de0be226107140d29119b97849
blob + 6d66e15b41380d748984bd1dbf817ec21392faa7
--- Cargo.toml
+++ Cargo.toml
@@ -2,5 +2,6 @@
 name = "omk"
 version = "0.1.0"
 edition = "2024"
+authors = ["Murilo Ijanc' <murilo@ijanc.org>"]
 
 [dependencies]
blob - /dev/null
blob + 856b9c1018b991003a26beb8e1ea058bfd8c2288 (mode 644)
--- /dev/null
+++ Cargo.lock
@@ -0,0 +1,7 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "omk"
+version = "0.1.0"
blob - e7a11a969c037e00a796aafeff6258501ec15e9a
blob + f1fac6b26e69c562490f924ae921d90a60b15d8c
--- src/main.rs
+++ src/main.rs
@@ -1,3 +1,24 @@
-fn main() {
-    println!("Hello, world!");
+// vim: set tw=79 cc=80 ts=4 sw=4 sts=4 et :
+//
+// Copyright (c) 2025-2026 Murilo Ijanc' <murilo@ijanc.org>
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#![no_std]
+#![no_main]
+
+#[panic_handler]
+fn panic(_info: &core::panic::PanicInfo) -> ! {
+    loop {}
 }
blob - /dev/null
blob + 493d2e6bbde2d4f93932dbc2777e24ce1f458147 (mode 644)
--- /dev/null
+++ rust-toolchain.toml
@@ -0,0 +1,3 @@
+[toolchain]
+channel = "nightly"
+targets = ["x86_64-unknown-none"]