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

Added packaging profile for release builds #367

Closed
wants to merge 1 commit into from
Closed
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
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@ members = ["data", "irc", "irc/proto"]
[patch.crates-io]
iced = { git = "https://github.com/iced-rs/iced", rev = "a05b8044a9a82c1802d4d97f1723e24b9d9dad9c" }
iced_core = { git = "https://github.com/iced-rs/iced", rev = "a05b8044a9a82c1802d4d97f1723e24b9d9dad9c" }

[profile.packaging]
opt-level = 3
debug = false
lto = "fat"
strip = "debuginfo"
panic = 'unwind'
incremental = false
codegen-units = 1
rpath = false
Comment on lines +57 to +64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to redefine the items that are identical to the release profile since we use inherits below. Let's remove them.

inherits = "release"