-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (37 loc) · 1.14 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (37 loc) · 1.14 KB
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
[package]
name = "rustOS"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Using some older versions here because they make fewer problems with our project
bootloader = "0.9"
volatile = "0.2.6"
spin = "0.5.2"
log = "0.4.21"
x86_64 = "0.14.2"
# infrastructure for serial ports
uart_16550 = "0.2.0"
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
# command appendex for qemu specifics (exit on test mode)
[package.metadata.bootimage]
# test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04"]
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio",
"-display", "none"
]
# mapping specified exit code to 0 for cargo tests to no view successful qemu exit as fail
test-success-exit-code = 33 # (0x10 << 1) | 1
[[test]]
name = "should_panic"
harness = false
# set panic to abort to prevent stack unwinding and our language item "eh_personality" error
#[profile.dev]
#build-std = ["unstable"]
#panic = "abort"
#[profile.release]
#build-std = ["unstable"]
#panic = "abort"
#->moved to OStt json