-
Notifications
You must be signed in to change notification settings - Fork 905
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
Support Go 1.18 #2515
Support Go 1.18 #2515
Conversation
IMHO we only really support something if we test it in CI (otherwise it could be silently broken any time), so yes I think we should run the tests for Go 1.18. |
Okay, I've managed to run
I believe these all come from I think I've figured out how to get this running on Actions at least, so let's see if it's broken in CI too. |
The good news is it is failing on CI so it's not just on my side; the bad news is the errors appear to be different? |
The major missing piece appears to be support bits for fuzzing. That requires a bit of not-quite-implemented stuff for signals, and files in I'm not sure what to do about fuzzing, but I've opened the signal parts in #2615. |
OK, this one was fixed by #2499 on
because Locally I've added an empty |
This one is because |
447ac25
to
4a05f70
Compare
With #2615, #2619 and some stub fuzzing bits, this can now build tests on Linux. Running the pass/fail host test fails though because of #2616, which I'm not sure about. On Windows, the build fails because of:
On macOS, the build fails because of:
(not sure why this isn't triggered on Linux as I don't see |
What is the status with this PR? Since Go 1.18 is going to be released very soon... 😺 |
This builds on Linux, but not the other platforms. It also can't run due to some missing LLVM implementation. See the previous comment. |
Now that my PRs were merged, I split out a few things that are not specific to Go 1.18 itself into separate PRs, rebased this on top of them / latest This update seems to have caused a new issue at places like:
This line is calling |
OK, I restored the stubs for now, since things are still broken without them. |
9dd8f1e
to
c6ea0cb
Compare
Based on #2616 (comment), I changed the |
527ced5
to
9e59e98
Compare
This simply shadows the real code temporarily to see what else is broken. It only defines a single type to fix testing/internal/testdeps.
Windows is still troubled by
This is very strange though; it seems that the |
#2725 adds stubs for LockOSThread / UnlockOSThread. Only hitch appears to be compress/bzip2 on windows. Thank you for working so hard on this, it's very nearly there! |
minimal go 1.18 support has landed. Thanks to QuLogic for getting the ball rolling. Closing. |
The number of CI configurations has shortened now, so I'm not sure if you want to add another, or bump one of them. I don't think 1.18 is available on Circle yet, but it should be available with the setup-go Action.