forked from hermit-os/loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (35 loc) · 1.16 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
[package]
name = "rusty-loader"
version = "0.2.6"
authors = ["Stefan Lankes <[email protected]>", "Colin Finck <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
edition = "2018"
[dependencies]
bitflags = "1.2.*"
[dependencies.goblin]
version = "0.2"
default-features = false
features = ["elf64", "elf32", "endian_fd"]
[target.'cfg(target_arch = "x86_64")'.dependencies.multiboot]
version = "0.*"
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
version = "0.*"
default-features = false
[build-dependencies]
target_build_utils = "0.3"
# The release profile, used for `cargo build --release`.
[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
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1