Skip to content

Commit

Permalink
update cgo enabled option documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chacin <[email protected]>
  • Loading branch information
pablochacin committed Jan 14, 2025
1 parent eb7ef14 commit a755eae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,8 @@ For example
}
}

Note: The build server does not support CGO_ENABLE when building binaries
due to this issue: https://github.com/grafana/k6build/issues/37
use --enable-cgo=true to enable CGO support
Note: The build server disables CGO by default but enables it when a dependency requires it.
use --enable-cgo=true to enable CGO support by default.


```
Expand Down
5 changes: 2 additions & 3 deletions cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ For example
}
}
Note: The build server does not support CGO_ENABLE when building binaries
due to this issue: https://github.com/grafana/k6build/issues/37
use --enable-cgo=true to enable CGO support
Note: The build server disables CGO by default but enables it when a dependency requires it.
use --enable-cgo=true to enable CGO support by default.
`

example = `
Expand Down

0 comments on commit a755eae

Please sign in to comment.