Skip to content

Consider building static MUSL binaries #13086

Closed as not planned
Closed as not planned
@lnicola

Description

@lnicola

Our MUSL version is dynamically linked (for Alpine), but some users might just want a binary that works more or less everywhere. Perhaps we should build that, too (not sure under what name/target tuple), and maybe use it in the VSIX.

Some benchmarks on analysis-stats self, best of four:

!lto musl
Total:               44.76s, 343ginstr

!lto gnu
Total:               40.33s, 325ginstr

lto musl
Total:               43.65s, 334ginstr

lto gnu
Total:               39.57s, 312ginstr

I didn't set codegen-units, but it looks like LTO might not be worth the trouble.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions