We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66f3998 + 25d0705 commit 09d7875Copy full SHA for 09d7875
Formula/g/[email protected]
@@ -78,7 +78,7 @@ def install
78
79
# Try running a sample using cgo without CC or CXX set to ensure that the
80
# toolchain's default choice of compilers work
81
- with_env(CC: nil, CXX: nil) do
+ with_env(CC: nil, CXX: nil, CGO_ENABLED: "1") do
82
assert_equal "Hello from cgo!\n", shell_output("#{bin}/go run hello_cgo.go")
83
end
84
0 commit comments