-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
51 lines (44 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "rust_os"
version = "0.1.0"
edition = "2021"
[package.metadata.bootimage]
test-args = [
"-device",
"isa-debug-exit,iobase=0xf4,iosize=0x04",
"-serial",
"stdio",
"-display",
"none",
]
test-success-exit-code = 33
test-timeout = 50
[dependencies]
futures-util = { version = "0.3.4", default-features = false, features = ["alloc"] }
conquer-once = { version = "0.2.0", default-features = false }
crossbeam-queue = { version = "0.3.11", default-features = false, features = ["alloc"] }
bootloader = { version = "0.9", features = ["map_physical_memory"] }
lazy_static = { version = "1.0", features = ["spin_no_std"] }
volatile = "0.2.6"
spin = "0.5.2"
x86_64 = "0.14.2"
uart_16550 = "0.2.0"
pic8259 = "0.10.1"
pc-keyboard = "0.7.0"
linked_list_allocator = "0.9.0"
# 使用 `cargo build` 编译时需要的配置
[profile.dev]
# panic = "abort" # 禁用panic时栈展开
# 使用 `cargo build --release` 编译时需要的配置
[profile.release]
# panic = "abort" # 禁用 panic 时栈展开
[[bin]]
name = "rust_os"
# test = false
bench = false
[[test]]
name = "should_panic"
harness = false
[[test]]
name = "stack_overflow"
harness = false