-
Notifications
You must be signed in to change notification settings - Fork 339
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
feat: support for Windows #228
Conversation
ii64
commented
May 17, 2022
- fix (loader): default loader now has build tag: for linux and darwin
- feat (loader): add memory allocator support for Windows
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.
please use original format:
- indent: 'four space' instead of 'tab'
- import quote: `` instead of ""
* fix (loader): default loader now has build tag: for linux and darwin * feat (loader): add memory allocator support for Windows
59b1b38
to
7566192
Compare
Fixed |
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.
Could you please add a CI file (ex: https://github.com/bytedance/sonic/blob/main/.github/workflows/push-check-go117.yml) to test if it works? use 'windows-latest' as basic image maybe?
Added Windows CI for GitHub Actions Go version: 1.15.x, 1.16.x, 1.17.x, 1.18.x
All test case passed on my machine, except for issue_test/plugin_test.go. |
It seems like go racer's problem: golang/go#46099, and doesn't get fixed yet. Maybe removing |
Temporary remove `-race` flag Link: golang/go#46099
Ouch, the GitHub Windows CI host got OOM, it has 7 GB RAM. I can reproduce TSAN error on my machine with Attached the ut logs: |
Thanks to @ii64! This is the first effective PR from an outside developer! 🎉 |