Skip to content

feat: use mold and cargo sonic#416

Draft
GuillaumeDeconinck wants to merge 5 commits into
meetsmore:masterfrom
GuillaumeDeconinck:guillaume/feat/use-mold-and-cargo-sonic
Draft

feat: use mold and cargo sonic#416
GuillaumeDeconinck wants to merge 5 commits into
meetsmore:masterfrom
GuillaumeDeconinck:guillaume/feat/use-mold-and-cargo-sonic

Conversation

@GuillaumeDeconinck
Copy link
Copy Markdown
Contributor

@GuillaumeDeconinck GuillaumeDeconinck commented May 24, 2026

  • Use mold for linking on Linux, as it's faster than the default and has been stable for a while now
  • Use cargo-sonic for generating multiple binaries when releasing instead of only one
    • This allows to generate optimized binaries based on the CPU target, at the cost of compiling time
      • E.g. a default generic ARM binary, and a binary that uses better/faster instructions available on Graviton AWS CPUs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants