Hello,
Not sure if anyone has seen this, it seems everything build with go 1.17.1
crashes in docker desktop (4.0.1) on Apple M1 if it's cross launched. The
error is
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
for example:
```
package main
import (
"fmt"
"os"
)
func
On Wed, Sep 15, 2021 at 8:28 AM xie cui wrote:
> https://github.com/golang/go/blob/master/src/runtime/sema.go#L47
> why this const is 251, not other like 256?
>
It's explained by the comment above that line:
// Prime to not correlate with any user patterns.
The value sizes a simple hash
https://github.com/golang/go/blob/master/src/runtime/sema.go#L47
why this const is 251, not other like 256?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Announcing Scriggo, an open source Golang template engine that uses Go as
its scripting language. Scriggo also includes an embeddable interprter for
the Go language.
https://github.com/open2b/scriggo
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
If I'm not mistaken `$GOPATH/pkg/mod` where go modules keeps the downloaded
modules, looking up `$GOPATH/pkg/mod` is to look for a module downloaded in
module aware mode and `$GOPATH/src` is for gopath mode.
Are you working with go modules or on the legacy go path mode?
On Tuesday, 14
So, I figured out this inline asm ends with a "checksum" then ".text".
I think I can remove inline asm before this ".text" and keep the rest since
it might be useful.
Please correct me if I'm wrong.
Thanks for your support!
Khanh
On Wednesday, September 15, 2021 at 11:59:25 AM UTC+8 Khanh TN