-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix build against GopherJS #897
Conversation
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.
Amazing, thank you!
Do you mind adding CI job for GopherJS? 🤗
Also current CI is not passing, somehow stuck...
Also it's interesting usage.. How you gather metrics from browser applications?
@paralin Do you want to continue working on this PR? |
Yes, I'm using it. @bwplotka I collect metrics from the browser using the stack at https://github.com/aperturerobotics - not all of it is open source yet :) |
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.
This looks great then! Thanks. Can you rebase to main and make sure we test against newest golang? 🤗
dc49ac2
to
5945d56
Compare
@bwplotka rebased |
BTW, it's not running the CI: "First-time contributors need a maintainer to approve running workflows." |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
ping @paralin (: |
We might want to add CI too, otherwise it's easy to break your build in next change.... |
It would be nice if we can push this across the finish line @paralin. Not to get you stressed about it, but we have a planned release at the end of the week. However, if you can't make it. It's perfectly fine, we can have it in the next release. |
When building against GopherJS, ThreadCreateProfile and Getpid are not available. Return 1 to shim the functions. Signed-off-by: Christian Stewart <christian@paral.in>
5945d56
to
3dbdb6c
Compare
Rebased & build tested |
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Move build tags for licence header checks Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
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
When building against GopherJS, ThreadCreateProfile and Getpid are not available.
Return 1 to shim the functions.
Fixes "gopherjs build ./..."