Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(releasing): Slightly fiddle with release build options, container paths #6614

Merged
merged 4 commits into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ path = "src/api/schema/gen.rs"
required-features = ["default-no-api-client"]

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

[profile.bench]
debug = true
Expand Down
2 changes: 1 addition & 1 deletion scripts/cross/aarch64-unknown-linux-gnu.dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM rustembedded/cross:aarch64-unknown-linux-gnu
FROM docker.io/rustembedded/cross:aarch64-unknown-linux-gnu
2 changes: 1 addition & 1 deletion scripts/cross/aarch64-unknown-linux-musl.dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM rustembedded/cross:aarch64-unknown-linux-musl
FROM docker.io/rustembedded/cross:aarch64-unknown-linux-musl
2 changes: 1 addition & 1 deletion scripts/cross/armv7-unknown-linux-musleabihf.dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM rustembedded/cross:armv7-unknown-linux-musleabihf
FROM docker.io/rustembedded/cross:armv7-unknown-linux-musleabihf
2 changes: 1 addition & 1 deletion scripts/cross/x86_64-unknown-linux-gnu.dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM rustembedded/cross:x86_64-unknown-linux-gnu
FROM docker.io/rustembedded/cross:x86_64-unknown-linux-gnu
2 changes: 1 addition & 1 deletion scripts/cross/x86_64-unknown-linux-musl.dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM rustembedded/cross:x86_64-unknown-linux-musl
FROM docker.io/rustembedded/cross:x86_64-unknown-linux-musl