Skip to content

Commit 46040d7

Browse files
committed
removed [profile] flags causing link error. Issue: rust-lang/compiler-builtins#79
1 parent 780fb7b commit 46040d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ kernel = { path="../kernel" }
99

1010
[lib]
1111
crate-type = ["staticlib"]
12+
13+
[profile.release]
14+
panic = "abort"
15+
codegen-units = 1
16+
debug = 0
17+
lto = true
18+
opt-level = "z"

0 commit comments

Comments
 (0)