Skip to content

Commit 00b0422

Browse files
authored
chore(releasing): Slightly fiddle with release build options, container paths
This commit documents the release build options in Cargo.toml without changing them. It also sets the container paths for builds to absolute paths, resolving a build issue on my strict podman install. Signed-off-by: Brian L. Troutwine [email protected]
1 parent 81e045e commit 00b0422

6 files changed

+8
-7
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ path = "src/api/schema/gen.rs"
1717
required-features = ["default-no-api-client"]
1818

1919
[profile.release]
20-
lto = true
21-
codegen-units = 1
20+
lto = true # Optimize our binary at link stage.
21+
codegen-units = 1 # Increases compile time but improves optmization alternatives.
22+
debug = false # Do not include debug symbols in the executable.
2223

2324
[profile.bench]
2425
debug = true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM rustembedded/cross:aarch64-unknown-linux-gnu
1+
FROM docker.io/rustembedded/cross:aarch64-unknown-linux-gnu
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM rustembedded/cross:aarch64-unknown-linux-musl
1+
FROM docker.io/rustembedded/cross:aarch64-unknown-linux-musl
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM rustembedded/cross:armv7-unknown-linux-musleabihf
1+
FROM docker.io/rustembedded/cross:armv7-unknown-linux-musleabihf
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM rustembedded/cross:x86_64-unknown-linux-gnu
1+
FROM docker.io/rustembedded/cross:x86_64-unknown-linux-gnu
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM rustembedded/cross:x86_64-unknown-linux-musl
1+
FROM docker.io/rustembedded/cross:x86_64-unknown-linux-musl

0 commit comments

Comments
 (0)