-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add linker flags for stripping debug symbols from provider binary (#1145
) Some of the providers binary, like aws, reached critical sizes. `pulumi-resource-aws` is now ~930MB big ([see](pulumi/pulumi-aws#4383 (comment))). By stripping debug symbols we save ~300MB for AWS. Panics and stack traces still contain all the necessary information. In detail this adds the `-s` and `-w` linker flags which strip the symbol table, debug information and DWARF symbol table. Relates to pulumi/pulumi-aws#4383
- Loading branch information
1 parent
40dd863
commit 6de05d1
Showing
5 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters