Answering my own question: using -extflags and passing the appropriate clang options (-stack_size)
("go tool link" for all options). On Monday, October 1, 2018 at 3:24:11 PM UTC-4, papost...@gmail.com wrote: > > I'm using cgo to interop with a 3rd-party library which requires at least > 3MB of stack size - what is the proper way of initializing code to support > that ? All my cgo calls are done from separate goroutines which use > channels for in/out. > > Thanks. > -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.