-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/compile: cannot build runtime in coverage mode on Wasm #70510
Comments
cc @golang/s390x |
I don't think this is S390X specific. So it seems coverage mode doesn't fully work on Wasm, at least for the runtime package. |
This is strange because these test codes have always passed on other architectures, including darwin arm64/amd64, windows/linux amd64. this error only occurs on the newly added s390x machine. See Zxilly/go-size-analyzer#270
I checked the ci logs and apparently they are all running under go 1.23.2. |
On my machine (darwin/arm64), Perhaps your What exactly do you want to cover? Why do you put |
I run a unit test within a sub-package, but would like to report on the coverage of this test within the entire repository. I don't remember finding any good way to fix this. |
If you want to cover (just) your module,
Which directory are you running the build from? |
Thanks, I'll give it a try. |
CC @thanm maybe? |
Go version
go version go1.23.3 linux/s390x
Output of
go env
in your module/workspace:What did you do?
Run following command
Then build failed.
What did you see happen?
What did you expect to see?
Works correctly
The text was updated successfully, but these errors were encountered: