summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-12-31 21:37:48 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-12-31 21:37:48 +0100
commit9c149a586dbe06a845c59138cab019f65a0981c9 (patch)
tree9de913ebd570124fb92855a2664e9fc74245d6c2
parentci: add a workflow for MacOS builds (diff)
downloadiced-builder-9c149a586dbe06a845c59138cab019f65a0981c9.tar.gz
refactor: remove release-opt profile
-rw-r--r--.builds/linux.yml19
-rw-r--r--Cargo.toml9
2 files changed, 10 insertions, 18 deletions
diff --git a/.builds/linux.yml b/.builds/linux.yml
index ae6a827..d51f089 100644
--- a/.builds/linux.yml
+++ b/.builds/linux.yml
@@ -27,28 +27,29 @@ tasks:
- test: |
cd iced-builder
cargo test --verbose --workspace
+ - build-stable: |
+ cd iced-builder
+
+ export RUSTUP_TOOLCHAIN=stable
+ cargo build --verbose --release
+
+ cp target/release/iced-builder ../iced-builder-x86_64-unknown-linux-gnu
- environment: |
cd iced-builder
+
if [ "$BUILD_SUBMITTER" = "git.sr.ht" ]
then
[ "$GIT_REF" = "refs/heads/master" ] || complete-build
[ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced-builder" ] || complete-build
fi
[ "$BUILD_REASON" != "patchset" ] || complete-build
- - build-stable: |
- cd iced-builder
-
- export RUSTUP_TOOLCHAIN=stable
- cargo build --verbose --profile release-opt
-
- cp target/release-opt/iced-builder ../iced-builder-x86_64-unknown-linux-gnu
- build-msrv: |
cd iced-builder
export RUSTUP_TOOLCHAIN=$MSRV
- cargo build --verbose --profile release-opt
+ cargo build --verbose --release
- build-nightly: |
cd iced-builder
export RUSTUP_TOOLCHAIN=nightly
- cargo build --verbose --profile release-opt
+ cargo build --verbose --release
diff --git a/Cargo.toml b/Cargo.toml
index dfea4e5..397b314 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -79,15 +79,6 @@ opt-level = 3
lto = true
strip = true
-[profile.release-opt]
-inherits = "release"
-codegen-units = 1
-debug = false
-incremental = false
-opt-level = 3
-overflow-checks = false
-strip = "debuginfo"
-
[lints.rust]
missing_debug_implementations = "deny"
unsafe_code = "deny"