diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-09-06 18:07:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-09-06 18:07:20 +0800 |
| commit | 9c887d5428043bab7af259386d9bda5dd1fd59f8 (patch) | |
| tree | e03cbef31896c30256fecffaaa7168cc9e69d030 /kernel | |
| parent | f303e7596367dc77d539f36f8c4e68ad51914337 (diff) | |
cleanup/fix: cargo
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/.cargo/config.toml | 6 | ||||
| -rw-r--r-- | kernel/Cargo.toml | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/kernel/.cargo/config.toml b/kernel/.cargo/config.toml new file mode 100644 index 0000000..3ec0bff --- /dev/null +++ b/kernel/.cargo/config.toml @@ -0,0 +1,6 @@ +[unstable] +build-std = ["core", "compiler_builtins", "alloc"] +build-std-features = ["compiler-builtins-mem"] + +[build] +target = "x86_64-unknown-none" diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index e1e5f5a..10b152b 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -6,6 +6,16 @@ edition = "2024" [dependencies] acpi = "6.1.1" atomic = "0.6.1" +bitflags = "2.13.1" bootloader_api = { git = "https://github.com/rust-osdev/bootloader" } +bytemuck = { version = "1.25.2", features = ["derive"] } linkme = "0.3.37" +spin = "0.12.3" uart_16550 = "0.8.0" + +[profile.dev] +debug = true +panic = "abort" + +[profile.release] +panic = "abort" |
