Skip to content

Commit

Permalink
removed [profile] flags causing link error. Issue: rust-lang/compiler…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoZaupa committed Nov 24, 2022
1 parent 780fb7b commit 46040d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ kernel = { path="../kernel" }

[lib]
crate-type = ["staticlib"]

[profile.release]
panic = "abort"
codegen-units = 1
debug = 0
lto = true
opt-level = "z"

0 comments on commit 46040d7

Please sign in to comment.