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

Remove purego fallbacks #325

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Remove purego fallbacks #325

merged 1 commit into from
Feb 22, 2023

Commits on Feb 22, 2023

  1. Remove purego fallbacks

    Having go-cmp panic when using the purego build tag makes it hard to use
    go-cmp for testing packages that themselves have purego fallbacks.
    
    Since go-cmp can't implement its functionality without unsafe (the
    "fallback" panics) and since environments that prohibit unsafe are much
    less common these days anyway, simply remove purego code entirely.
    
    Fixes google#283.
    cespare committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    1e43bbc View commit details
    Browse the repository at this point in the history