Open
Description
I am trying to compile a program that imports some grpc consts for wasm.
The code was compiling perfectly fine on 0.30.0 while after upgrading to 0.31.1 I keep getting:
../../../../pkg/mod/google.golang.org/[email protected]/internal/credentials/spiffe.go:37:15: state.PeerCertificates undefined (type tls.ConnectionState has no field or method PeerCertificates)
../../../../pkg/mod/google.golang.org/[email protected]/internal/credentials/spiffe.go:37:51: state.PeerCertificates undefined (type tls.ConnectionState has no field or method PeerCertificates)
../../../../pkg/mod/google.golang.org/[email protected]/internal/credentials/spiffe.go:40:32: state.PeerCertificates undefined (type tls.ConnectionState has no field or method PeerCertificates)
../../../../pkg/mod/google.golang.org/[email protected]/internal/credentials/spiffe.go:40:32: state.PeerCertificates undefined (type tls.ConnectionState has no field or method PeerCertificates)
../../../../pkg/mod/google.golang.org/[email protected]/internal/credentials/util.go:51:13: cfg.Clone undefined (type *tls.Config has no field or method Clone)
by simply importing "google.golang.org/grpc/codes"
I suspect it happens as a result of adaptation made for tls to work with #3704 PR. Was this intentional and I should change something on my side?
Thanks