You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2020. It is now read-only.
$mktemp -d
/tmp/tmp.2PczM5vtzb
$cd /tmp/tmp.2PczM5vtzb
$cat main.go
package main
import (
"os"
"github.com/go-interpreter/wagon/wasm"
)
func main() {
wasmFd, err := os.Open(os.Args[1])
if err != nil {
panic(err)
}
defer wasmFd.Close()
mod, err := wasm.ReadModule(wasmFd, nil)
if err != nil {
panic(err)
}
_ = mod
}
$go1.13beta1 mod init test
go: creating new go.mod: module test
$go1.13beta1 build
go: github.com/go-interpreter/wagon@v0.5.0 requires
github.com/twitchyliquid64/golang-asm@v0.0.0-20190315094337-365674df15fc: reading https://proxy.golang.org/github.com/twitchyliquid64/golang-asm/@v/v0.0.0-20190315094337-365674df15fc.mod: 400 Bad Request
$GOPROXY=direct go1.13beta1 build
go: github.com/go-interpreter/wagon@v0.5.0 requires
github.com/twitchyliquid64/golang-asm@v0.0.0-20190315094337-365674df15fc: invalid pseudo-version: does not match version-control timestamp (2019-01-26T20:37:39Z)
Only when I replace golang-asm with master or that commit hash, it works
$go mod edit -replace=github.com/twitchyliquid64/golang-asm@v0.0.0-20190315094337-365674df15fc=github.com/twitchyliquid64/golang-asm@master
$go1.13beta1 build
go: finding github.com/twitchyliquid64/golang-asm master
Looking into the commits of golang-asm, the commit hash looks fine but the timestamp is at 27th Jan, whereas the go.mod of wagon expects it at 15th March.
Not sure how something like this can happen. Deliberate force push ?
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?What did you do?
Only when I replace golang-asm with master or that commit hash, it works
Looking into the commits of golang-asm, the commit hash looks fine but the timestamp is at 27th Jan, whereas the go.mod of wagon expects it at 15th March.
Not sure how something like this can happen. Deliberate force push ?
The text was updated successfully, but these errors were encountered: