Skip to content
Open
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
7 changes: 4 additions & 3 deletions bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ include = [
module-name = "pyiceberg_core.pyiceberg_core_rust"
profile = "release"
python-source = "python"
# Optimize for small binary size (https://github.com/apache/iceberg-rust/pull/1841)
# Don't strip: depending on the binary's layout, a stripped macOS .so fails to import
# with "mis-aligned LINKEDIT string pool" (https://github.com/apache/iceberg-rust/issues/3646).
config = [
"profile.release.lto=\"thin\"",
"profile.release.codegen-units=1",
"profile.release.opt-level=\"z\"",
"profile.release.strip=true",
"profile.release.opt-level=3",
"profile.release.strip=false",
]

[tool.ruff.lint]
Expand Down
Loading