[go-nuts] go 1.17.1 in docker (m1) Segmentation Fault

2021-09-15 Thread RĂ©mi Philippe
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

Re: [go-nuts] why semTabSize is 251?

2021-09-15 Thread Kurtis Rader
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

[go-nuts] why semTabSize is 251?

2021-09-15 Thread xie cui
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

[go-nuts] [ANN] Scriggo - Go template engine and embeddable interpreter

2021-09-15 Thread Marco Gazerro
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"

Re: [go-nuts] "src" folder changed to "pkg"

2021-09-15 Thread Anderson Queiroz
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

Re: [go-nuts] Simplifying LLVM bitcode from gollvm

2021-09-15 Thread Khanh TN
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