Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: remove legacy trimpath code #4938

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Commits on Apr 12, 2022

  1. Makefile: remove legacy trimpath code

    Before Go 1.13, it was possible to trim paths with GC flags and ASM
    flags.  In Go 1.13, it became possible to simply specify -trimpath, at
    which point all the old behaviour became unnecessary.
    
    Since we require Go 1.13 in our code due to the use of the errors
    package, let's simplify our code by always using the -trimpath flag and
    omitting the old forms.  The old forms additionally were broken when
    using a path with a space, which could happen on Windows if the current
    user's username contained a space (which is not uncommon).
    bk2204 committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    7809d68 View commit details
    Browse the repository at this point in the history