fix(build): preserve proc-macro alignment on macOS 27

Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
Tom Brow
2026-10-12 11:36:34 -07:00
parent b1e8ef6b6f
commit 75f6bef25e
2 changed files with 12 additions and 0 deletions

View File

@@ -195,3 +195,9 @@ aws-creds = { git = "https://github.com/tlongwell-block/rust-s3", rev = "c9fce36
# resolves even though Buzz only enables PostgreSQL. Pin the merged upstream
# compatibility fix until it is released: https://github.com/transact-rs/sqlx/pull/4402
sqlx-sqlite = { git = "https://github.com/launchbadge/sqlx", rev = "94aafe3a68884d923b0798a767c8d7f6cfda89d2" }
# Rust 1.95's Mach-O stripper can misalign proc-macro dylibs on macOS 27.
# Keep build-time artifacts unstripped; shipped binaries retain their settings.
# Remove after upgrading Rust past the fix in 1.98 (block/buzz#8074).
[profile.release.build-override]
strip = "none"

View File

@@ -164,3 +164,9 @@ tokio = { version = "1", features = ["test-util"] }
# The relay's media validation, so desktop-produced snapshots and voice notes
# can prove their full client-sanitize → relay-accept contract end to end.
buzz_media_pkg = { package = "buzz-media", path = "../../crates/buzz-media" }
# Rust 1.95's Mach-O stripper can misalign proc-macro dylibs on macOS 27.
# Keep build-time artifacts unstripped; shipped binaries retain their settings.
# Remove after upgrading Rust past the fix in 1.98 (block/buzz#8074).
[profile.release.build-override]
strip = "none"