Not commenting on embedded system (which I know enough of to know that the 
term is a wide field). but otherwise...

On Friday, December 19, 2025 at 2:03:20 AM UTC+1 [email protected] wrote:

 In 16 years of Go's existence, neither Google nor the community has solved
  the race detection problem without CGO. ThreadSanitizer requires 
CGO_ENABLED=1,                                                              
                                               
  which makes it unusable for Docker scratch images, cloud functions,      
                                                                            
                                                       
  cross-compilation, and embedded systems.                                  
     


Other than scratch, I'm using cgo on a regular basis in several different 
Docker container image builds, and this even with Alpine-musl and 
cross-arch builds ARM64 on AMD64. That is, with "-tags=osusergo,netgo". The 
picture is actually and thankfully more nuanced.

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/b700430e-3d9d-48fe-a1fe-7f980e18f1fcn%40googlegroups.com.

Reply via email to