From a887b12014ccd2024b8cb2e165e0d5f1eb26e4f9 Mon Sep 17 00:00:00 2001 From: ilya Date: Tue, 29 Sep 2026 05:16:11 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE?= =?UTF-8?q?=D0=B9=D0=BA=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=BE=D0=B7?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D1=8F=D0=B5=D0=BC=D0=BE=D0=B3=D0=BE=20=D0=B1=D0=B8=D0=BD?= =?UTF-8?q?=D0=B0=D1=80=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cargo/config.toml | 10 ++++++++++ Cargo.lock | 9 +++++++++ Cargo.toml | 5 ++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..350bd4e --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,10 @@ +[build] +target = "x86-rustos.json" + +[unstable] +json-target-spec = true +build-std-features = ["compiler-builtins-mem"] +build-std = ["core", "compiler_builtins"] + +[target.'cfg(target_os = "none")'] +runner = "bootimage runner" \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 6311f33..11c6719 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,15 @@ # It is not intended for manual editing. version = 4 +[[package]] +name = "bootloader" +version = "0.9.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e22d5a0b9e11dd5bee9d24a68885de6dc7ed367f897323b1c1286150fd469374" + [[package]] name = "rustos" version = "0.1.0" +dependencies = [ + "bootloader", +] diff --git a/Cargo.toml b/Cargo.toml index 8c99310..377e8ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,7 @@ panic = "abort" [[bin]] name = "rustos" test = false -bench = false \ No newline at end of file +bench = false + +[dependencies] +bootloader = "0.9" \ No newline at end of file