-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (49 loc) · 1.32 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
52
53
54
55
56
57
58
59
60
[package]
name = "MiniatureOs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
panic = "abort"
[profile.dev]
panic = "abort"
[dependencies]
[build-dependencies]
kernel = {path = "kernel", artifact = "bin", target = "x86_64-unknown-none"}
test_kernel_allocators = {path = "tests/test_kernel_allocators", artifact = "bin", target= "x86_64-unknown-none"}
test_kernel_multitasking = {path = "tests/test_kernel_multitasking", artifact = "bin", target= "x86_64-unknown-none"}
bootloader={path="./bootloader"}
walkdir="*"
[workspace]
members = [
"kernel",
"bootloader",
"bootloader/api",
"bootloader/x86_64/bios/common",
"bootloader/x86_64/bios/mbr",
"bootloader/x86_64/bios/stage2",
"bootloader/x86_64/bios/stage3",
"bootloader/x86_64/bios/stage4",
"x86_64","tests/test_kernel_allocators","util", "tests/test_kernel_multitasking",
]
[profile.mbr]
inherits = "release"
opt-level = "s"
lto = true
codegen-units = 1
debug = false
overflow-checks = false
[profile.stage2]
inherits = "release"
opt-level = "s"
codegen-units = 1
debug = false
overflow-checks = true
[profile.stage3]
inherits = "release"
debug = true
overflow-checks = true
[profile.stage4]
inherits = "release"
debug = true
overflow-checks = true