-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
42 lines (35 loc) · 999 Bytes
/
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
[package]
name = "r_os"
version = "0.1.0"
authors = ["gavadinov <[email protected]>"]
edition = "2018"
[workspace]
members = [
"lib/test-macro"
]
[dependencies]
bootloader = "0.6.0"
volatile = "0.2.6"
spin = "0.5.0"
x86_64 = "0.7.5"
uart_16550 = "0.2.0"
[dependencies.test-macro]
path = "lib/test-macro"
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
[package.metadata.bootimage]
# This target is used if no `--target` is passed
default-target = "x86_64-kernel-target.json"
test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio", "-display", "none"]
test-success-exit-code = 33 # (0x10 << 1) | 1
# The command invoked with the created bootimage (the "{}" will be replaced
# with the path to the bootable disk image)
# Applies to `bootimage run` and `bootimage runner`
run-command = ["qemu-system-x86_64", "-drive", "format=raw,file={}"]
[[test]]
name = "should_panic"
harness = false
[[test]]
name = "stack_overflow"
harness = false