Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
HermitCore
libhermit-rs
Commits
4261aa70
Commit
4261aa70
authored
Jul 23, 2017
by
Stefan Lankes
Browse files
enable LTO support
parent
7aa15d79
Changes
1
Hide whitespace changes
Inline
Side-by-side
librs/Cargo.toml
View file @
4261aa70
...
...
@@ -11,5 +11,28 @@ crate-type = ["staticlib"]
[dependencies]
rlibc
=
"1.0.0"
# Low-level functions like memcpy.
spin
=
"0.4.5"
# Spinlocks.
x86
=
"0.8.1"
# CPU data structures.
raw-cpuid
=
"3.0.0"
[dependencies.x86]
version
=
"0.7"
default-features
=
false
# The development profile, used for `cargo build`.
[profile.dev]
opt-level
=
0
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment