Commit 069cc55c authored by Stefan Lankes's avatar Stefan Lankes
Browse files

disable temporary LTO support

- the current version creates error, if LTO support is enabled
parent 3b2e7812
Pipeline #461714 passed with stages
in 18 minutes and 52 seconds
......@@ -45,7 +45,7 @@ build:demo:
- mkdir libhermit-rs
- shopt -s dotglob nullglob && mv $HOME/tmp_libhermit-rs/* libhermit-rs/.
- cargo build -p rusty_demo
- RUSTFLAGS="-Clinker-plugin-lto" cargo build -p rusty_demo --release
- cargo build -p rusty_demo --release
artifacts:
paths:
- rusty-hermit/target/x86_64-unknown-hermit/debug/rusty_demo
......
......@@ -96,9 +96,9 @@ debug-assertions = true # controls whether debug assertions are enabled
# The release profile, used for `cargo build --release`.
[profile.release]
opt-level = 3
opt-level = 2
debug = false
rpath = false
lto = "thin"
lto = false
debug-assertions = false
#panic = "abort"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment