Skip to content

--ffile-prefix-map instead of --fdebug-prefix-map for deterministic builds #4577

Description

@tbarrella

Hello, I found that using --ffile-prefix-map here fixed non-deterministic GoLink output for a build.

See here; this is a newer flag that also handles absolute paths from __FILE__ macros.

Would it be safe to update rules_go to use the newer flag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions