Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: set CGO_ENABLED=0 when building snippets
GCC has never been available to our build step of the Playground. Historically, the Playground always built programs with faketime, and relied on patches for sandboxing in NaCL. In the future, we could enable CGO programs to be built and run safely in the gVisor sandbox. In the meantime, this fixes trivial snippets that rely on CGO parts of std. Fixes golang/go#44714 Change-Id: If0e8b89f3c47bc080954dbd504d9de38295c16e2 Reviewed-on: https://go-review.googlesource.com/c/playground/+/297636 Trust: Alexander Rakoczy <[email protected]> Run-TryBot: Alexander Rakoczy <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information