Skip to content

Enable LTO for .duckdb_extension - #106

Merged
myrrc merged 1 commit into
mainfrom
myrrc/lto
Jul 27, 2026
Merged

Enable LTO for .duckdb_extension#106
myrrc merged 1 commit into
mainfrom
myrrc/lto

Conversation

@myrrc

@myrrc myrrc commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

LTO allows us to save 17% of stripped and 23% of unstripped
.duckdb_extension size.

Cross-language LTO saves additional 1% but imposes clang-only
build with clang being same as LLVM version for rust toolchain so
not worth it.

@myrrc
myrrc requested a review from 0ax1 July 25, 2026 18:13
@myrrc
myrrc enabled auto-merge (squash) July 25, 2026 18:13
@myrrc
myrrc merged commit 57a4615 into main Jul 27, 2026
14 checks passed
@myrrc
myrrc deleted the myrrc/lto branch July 27, 2026 09:46
github-actions Bot pushed a commit that referenced this pull request Jul 27, 2026
(cherry picked from commit 57a4615)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants