Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass go build arguments from env var #4

Closed
imiric opened this issue Nov 30, 2020 · 0 comments · Fixed by #51
Closed

Pass go build arguments from env var #4

imiric opened this issue Nov 30, 2020 · 0 comments · Fixed by #51
Labels
enhancement New feature or request

Comments

@imiric
Copy link
Contributor

imiric commented Nov 30, 2020

Currently changing go build arguments is very limited, and only -race is exposed via XK6_RACE_DETECTOR.

It would be useful to pass a generic env var like XK6_BUILD_ARGS to go build instead, so that, for example, debug symbols can be optionally included if desired, as we recently discussed in Slack. We should get rid of XK6_RACE_DETECTOR in that case, since it could be passed via XK6_BUILD_ARGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant