Skip to content

Commit a55d6b5

Browse files
committed
rust: remove profile sections from subproject Cargo.toml files
Only the ones in the workspace Cargo.toml are are considered.
1 parent 4bdfdd2 commit a55d6b5

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

src/rust/bitbox02-rust-c/Cargo.toml

-10
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ license = "Apache-2.0"
2222
[lib]
2323
crate-type = ["staticlib"]
2424

25-
[profile.release]
26-
debug = true
27-
opt-level = 'z'
28-
codegen-units = 1
29-
panic = 'abort'
30-
lto = true
31-
32-
[profile.dev]
33-
opt-level = 'z'
34-
3525
[dependencies]
3626
bitbox02-rust = { path = "../bitbox02-rust" }
3727
bitbox02 = { path = "../bitbox02" }

src/rust/bitbox02-sys/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,5 @@ edition = "2018"
2020
description = "Rust bindings for C code in bitbox02-firmware"
2121
license = "Apache-2.0"
2222

23-
[profile.dev]
24-
opt-level = 'z'
25-
panic = 'abort'
26-
2723
[dependencies]
2824
util = {path = "../util"}

src/rust/bitbox02/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ edition = "2018"
2020
description = "Idiomatic rust bindings for C code in bitbox02-firmware"
2121
license = "Apache-2.0"
2222

23-
[profile.dev]
24-
opt-level = 'z'
25-
panic = 'abort'
26-
2723
[dependencies]
2824
bitbox02-sys = {path="../bitbox02-sys"}
2925
util = {path = "../util"}

0 commit comments

Comments
 (0)