Skip to content

Document build flags that reduce binary size #498

Open
@bmoffatt

Description

@bmoffatt

Using the -ldflags=-w flags to remove the debug symbols cuts the size of the binary in half too, seems strange that AWS isn't recommending this as well.

With any non-default build flags, there may be some tradeoff to understand and incorporate into any documentation. Dropping the debug symbols does seem risk free though.

Originally posted by @bmoffatt in #493 (comment)

There's also -tags lambda.norpc that could be documented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions