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

Use ICF linker optimization for other platforms than Linux #99381

Open
Kobzol opened this issue Jul 17, 2022 · 2 comments
Open

Use ICF linker optimization for other platforms than Linux #99381

Kobzol opened this issue Jul 17, 2022 · 2 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@Kobzol
Copy link
Contributor

Kobzol commented Jul 17, 2022

#99062 added ICF (identical code folding) for Linux builds of rustc, in order to slightly optimize binary size and i-cache utilization. It could be worthwhile to also investigate if we can apply it on other platforms. It could be also expanded to other compiler artifacts, like stdlib.

@workingjubilee
Copy link
Member

workingjubilee commented Jul 19, 2022

This should not happen until we diagnose what happened here:

@workingjubilee workingjubilee added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Jul 19, 2022
@workingjubilee
Copy link
Member

Given what happened in #99440 we're probably fine proceeding here, but should keep an eye peeled for more Hilarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

2 participants