Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Dec 18, 2024
1 parent aabc5ff commit 1dce2f5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 90 deletions.
4 changes: 0 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ rustflags = [
# We can guarantee that this target will always run on a CPU with _at least_
# these capabilities, so let's optimize for them
"-Ctarget-cpu=apple-m1",
"-Clink-arg=-s",
]

[target.x86_64-apple-darwin]
rustflags = ["-Clink-arg=-s"]
11 changes: 5 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ builds:
- id: darwin-and-windows
builder: rust
flags:
# - --release
- --release
- -p=rioterm
- -vv
env:
- MACOSX_DEPLOYMENT_TARGET="11.0"
# - RUST_BACKTRACE=1
- MACOSX_DEPLOYMENT_TARGET=11.0
- RUSTFLAGS=-Clink-arg=-s
targets:
# - x86_64-apple-darwin
# - x86_64-pc-windows-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-gnu
- aarch64-apple-darwin

- id: wayland
Expand Down
81 changes: 3 additions & 78 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ rio-proc-macros = { path = "rio-proc-macros", version = "0.2.2" }
corcovado = { path = "corcovado", version = "0.2.2" }
wa = { path = "wa", version = "0.1.7" }

sugarloaf = { version = "0.2.2" }
sugarloaf = { path = "sugarloaf", version = "0.2.2" }
raw-window-handle = { version = "0.6.2", features = ["std"] }
parking_lot = { version = "0.12.3", features = [
"nightly",
Expand Down Expand Up @@ -76,7 +76,7 @@ objc = "0.2.7"
memmap2 = "0.9.5"

[profile.release]
# lto = true
lto = true
strip = true
debug = "limited"
codegen-units = 1
Expand Down

0 comments on commit 1dce2f5

Please sign in to comment.