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

"build system did not supply embed configuration" for stdlib package #1381

Closed
kevinburke opened this issue Mar 6, 2023 · 4 comments
Closed
Labels
upstream Issues that are caused by a dependency

Comments

@kevinburke
Copy link
Contributor

When running staticcheck against my project (github.com/kevinburke/rest) I get the following error:

-: # crypto/internal/nistec
../../../../go/src/crypto/internal/nistec/p256_asm.go:322:3: invalid go:embed: build system did not supply embed configuration (compile)

I'm running Go tip (commit b94dc384cabf75e7e8703265cd80f5324f84b642) on a Mac, and staticcheck tip (commit cc140e9). I'm not sure if this is an error that should be filed against the standard library and unfortunately don't have time to investigate further.

@kevinburke
Copy link
Contributor Author

mentioning @FiloSottile since I believe you added the crypto/internal/nistec package

@dominikh
Copy link
Owner

dominikh commented Mar 6, 2023

I doubt this is the fault of the package author. Bisection points to golang/go@c0ac33c, which at least looks like it fits. I'll have to investigate further to find out if this is a bug in cmd/go or if go/packages needs to be adapted.

@dominikh
Copy link
Owner

dominikh commented Mar 6, 2023

This is now tracked upstream at golang/go#58885.

@dominikh dominikh added the upstream Issues that are caused by a dependency label Mar 6, 2023
@dominikh
Copy link
Owner

Fixed by golang/go@6615324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issues that are caused by a dependency
Projects
None yet
Development

No branches or pull requests

2 participants