-
Notifications
You must be signed in to change notification settings - Fork 997
Support Go 1.18, updated #2725
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, updated #2725
Conversation
c1373db to
f3db1d1
Compare
f3db1d1 to
55ad921
Compare
8ef2314 to
2bc731c
Compare
|
This PR passes the test corpus, which is a nice vote of confidence. |
c757a3f to
df1eb7e
Compare
|
Just realized my |
203b01f to
8698c31
Compare
|
OK, the interface{} -> any rewrite patch is now versioned as you suggested. |
6f4c45a to
00c6e6d
Compare
00c6e6d to
7920350
Compare
|
IMHO it's not necessary to keep testing Go 1.17 on Windows or MacOS, unless you think there is a risk of regression that isn't caught by existing Linux/Go1.17 tests. |
|
Yeah, I only started doing the 1.17 builds again when I saw 1.18 failed on windows, just wanted to see if 1.17 still worked there (it does). I was going to remove it once 1.18 works on windows. |
|
@dkegel-fastly can you please resolve the merge conflict and rebase against |
7920350 to
de1f8ba
Compare
|
So looks like just Windows 1.18 not passing, if I am reading the output correctly. |
|
Yup. Tests fail on windows with 1.18. https://github.com/tinygo-org/tinygo/runs/5871904692?check_suite_focus=true |
This simply shadows the real code temporarily to see what else is broken. It only defines a single type to fix testing/internal/testdeps.
de1f8ba to
e06eb1d
Compare
|
Because windows builds are failing with go 1.18, but people want to start using go 1.18, I removed |
|
Seems like a practical approach to me. @aykevl any comment before merge? |
|
Let's goooooooooooooooooooo! Merging, thank you @dkegel-fastly |
|
A bit late, but I think it's fine to merge. However, I do think we should at least try to fix the Windows issue before release or a lot of people will be very confused. |
|
Agreed for sure we need to fix it. I think @dkegel-fastly will now create a PR just for the CI changes so we can make sure all platforms are working. This PR was just to unblock people on other platforms from making a build from |
|
Hmm, |
|
Yup. Doesn't reproduce on wine here, either. |
|
The abort is in the compiler, and would presumably show up if you could run the windows version of go in wine, but wine can't quite handle that yet. |
|
I just tried running the compiler under wine, roughly: so while there is some problem on exit in wine, it's not the problem we're looking for, and you probably do need to run on real windows. When running go.exe to build or test something, Mac OS 11.6.5 puts up a dialog saying delete executable or cancel about 20 times; click cancel each time to allow running a downloaded executable. (Presumably there is some way to bless go.exe and its tools, but I haven't checked.) |
|
See #2762 for the bug. |
This is #2515 rebased against current dev, with a few new commits fixing missing signal values, adding a missing stub or two, and crucially, fixing #2726 , now with Damian's magic hack when goroot is 1.18 or above.
The testdata change in this branch differs from qulogic's slightly for no good reason.
(Includes @QuLogic's stub fuzzer to avoid #2616;
one of the commits in this branch addresses an other little problem that come up along the way to that failure.)