forked from RWTH-OS/eduOS-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
54 lines (45 loc) · 1.45 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
[package]
name = "eduos-rs"
version = "0.1.0"
license = "MIT"
authors = ["Stefan Lankes <slankes@eonerc.rwth-aachen.de>"]
[dependencies]
bitflags = "1.0"
spin = "0.5"
#[dependencies.lazy_static]
#version = "1.2"
#features = ["spin_no_std"]
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
git = "https://github.com/hermitcore/rust-x86.git"
branch = "hermit"
default-features = false
[dependencies.goblin]
version = "0.0.19"
default-features = false
features = ["elf64", "elf32", "endian_fd"]
#[dependencies.scroll]
#version = "0.9"
#default-features = false
[dependencies.num-traits]
version = "0.2"
default-features = false
[package.metadata.cargo-xbuild]
memcpy = true
# The development profile, used for `cargo build`.
[profile.dev]
opt-level = 1 # controls the `--opt-level` the compiler builds with
debug = true # controls whether the compiler passes `-C debuginfo`
# a value of `true` is equivalent to `2`
rpath = false # controls whether the compiler passes `-C rpath`
lto = false # controls `-C lto` for binaries and staticlibs
debug-assertions = true # controls whether debug assertions are enabled
codegen-units = 1 # controls whether the compiler passes `-C codegen-units`
# `codegen-units` is ignored when `lto = true`
# The release profile, used for `cargo build --release`.
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1