You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using the LLD linker, which is said to produce "slightly larger binary artifacts".
Motivation
Small binaries are generally good, and deduplication doesn't hurt, especially because we don't have issues with locality of instructions on most platforms.
Current Implementation
The farthest I got with this is injecting RUSTFLAGS="-Clink-arg=--icf=all" into the build system -- but that resulted in zero sizes being shown by laze build size. It's a bit weird: Values other than the legal all / none / safe do cause errors as expected, but giving any legal value (even the default none, to my surprise) makes things break silently.
Are you planning to do it yourself in a pull request?
Maybe
The text was updated successfully, but these errors were encountered:
Description
We're using the LLD linker, which is said to produce "slightly larger binary artifacts".
Motivation
Small binaries are generally good, and deduplication doesn't hurt, especially because we don't have issues with locality of instructions on most platforms.
Current Implementation
The farthest I got with this is injecting
RUSTFLAGS="-Clink-arg=--icf=all"
into the build system -- but that resulted in zero sizes being shown bylaze build size
. It's a bit weird: Values other than the legalall
/none
/safe
do cause errors as expected, but giving any legal value (even the defaultnone
, to my surprise) makes things break silently.Are you planning to do it yourself in a pull request?
Maybe
The text was updated successfully, but these errors were encountered: