-
Notifications
You must be signed in to change notification settings - Fork 24
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
Allow compiling to WASM #109
Conversation
(Waiting on mitchellh/cli#103 before |
(Also waiting on hashicorp/go-kms-wrapping#207 for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with some minor comments. I avoided the conditional compilation path before because it makes the development experience more painful on non-Linux, but that's a secondary concern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how long the upstream listenerutil
fix is going to take to get merged, so once configutil
is fixed, I would be supportive of excluding it from the CI in order to get the rest of this PR merged sooner.
All dependencies fixed now :) Although this moves from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job on the hashicorp/cli
changes! Just one question on the replace
directives
By updating go-sockaddr to 1.0.6 and shuffling some files around so that build tags would ignore irrelevant files for JS/WASM (such as the plugincontainer stuff that doesn't even make sense when compiling to JS/WASM). Update to use hashicorp/cli instead of mitchellh/cli for JS/WASM support. Co-authored-by: Tom Proctor <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Sorry for the merge conflicts from my PR
Thanks! No problem on the conflicts :) |
By updating go-sockaddr to 1.0.6 and shuffling some files around so that build tags would ignore irrelevant files for JS/WASM (such as the plugincontainer stuff that doesn't even make sense when compiling to JS/WASM).