Skip to content

build: link xtool dynamically inside AppImage - #296

Merged
kabiroberai merged 1 commit into
mainfrom
dynamic-appimage-link
Oct 4, 2026
Merged

kabiroberai merged 1 commit into
mainfrom
dynamic-appimage-link

Conversation

@kabiroberai

@kabiroberai kabiroberai commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

We don't really need --static-swift-stdlib when building the AppImage, since we can bundle the stdlib.

Static linking can theoretically save space & squeeze out a little more perf, but statically linking Swift is buggy (for example swiftlang/swift-build#1764 wasn't caught until days after 6.4.0 released, and months after the beta) and prevents using dynamic Swift libraries.

How was it tested?

  • Ran appimage in docker
  • Verified that the appimage contains libswift[...].so
  • Compared size on disk (<1MB increase)
  • Compared performance (no statistically significant change)

AI tool usage

How much of this PR was AI-assisted? (check one)

  • 0 - No AI was used to write code
  • 1 - I was assisted by AI. I reviewed the finished result.
  • 2 - I set the AI going and left it to it; nobody has read the result - no review, or AI review only

@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5259e9a3-e854-4130-a460-870cd1d35f56
📥 Commits

Reviewing files that changed from the base of the PR and between 8041b92 and e6c3f66.

📒 Files selected for processing (1)
  • Linux/build.sh
 ______________________________________________________
< Linters are opinions; I'm the peer-reviewed journal. >
 ------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@kabiroberai
kabiroberai marked this pull request as ready for review October 4, 2026 20:42
@kabiroberai
kabiroberai merged commit 5807d01 into main Oct 4, 2026
10 of 11 checks passed
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.

1 participant