-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
compiler-rtcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.optimization
Milestone
Description
As an optimization, our compiler-rt can check if generating a given symbol would be redundant, because it would never be called due to a machine code instruction being available, and avoid calling @export for that symbol. This will make 2 small improvements:
- Faster compiler-rt build from cold cache (fewer functions to optimize)
- Faster link against compiler-rt (since the static archive will be smaller)
Similar issue: #11883
Metadata
Metadata
Assignees
Labels
compiler-rtcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.optimization