Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: use mold #1056

Merged
merged 1 commit into from
Apr 23, 2024
Merged

rust: use mold #1056

merged 1 commit into from
Apr 23, 2024

Conversation

domenkozar
Copy link
Member

@domenkozar domenkozar commented Mar 26, 2024

Should we use mold by default to speed up compilation?

@domenkozar domenkozar marked this pull request as draft March 26, 2024 02:58
Copy link

cloudflare-workers-and-pages bot commented Mar 26, 2024

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: de6e1f8
Status: ✅  Deploy successful!
Preview URL: https://b11df7a0.devenv.pages.dev
Branch Preview URL: https://rust-mold.devenv.pages.dev

View logs

@domenkozar
Copy link
Member Author

Seems like we'll need to use sold to support macOS: rui314/mold#1171

@Kranzes
Copy link

Kranzes commented Mar 26, 2024

Theres also cranelift if you're going for fastest compile times for the debug profile. For the release profile you should stick to the default linker/compiler/codegen.

@domenkozar domenkozar marked this pull request as ready for review April 19, 2024 07:28
@domenkozar domenkozar force-pushed the rust-mold branch 2 times, most recently from e1b1e68 to f6f6cec Compare April 19, 2024 13:07
@domenkozar domenkozar force-pushed the rust-mold branch 2 times, most recently from dd6f8b5 to 28baf44 Compare April 22, 2024 09:01
@domenkozar domenkozar merged commit 74ca970 into main Apr 23, 2024
235 of 256 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.

2 participants