-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Updates and cleanup in self hosted compiler #3748
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.
Nice work!
Due to #3190 this patch is needed to compile.
Can you go ahead and make this workaround, with a TODO comment linking to that issue, to remind us to remove the workaround when the issue is fixed?
Does this get it building again successfully? If so we could re-enable building it as part of the test suite: Lines 75 to 78 in 29d7b5a
|
It should. |
Apparently only on Linux. Can someone on Mac or Windows give detailed error logs? |
I can help you with that in a bit. If you click on the "Details" link in the CI above, do you see the error? It should be open access with no login required. |
Oh, I can tell you what's going on here though. Evented I/O mode integration isn't hooked up with non-Linux operating systems yet. Specifically, the It would still be helpful to enable building the self-hosted compiler as part of the test suite when the target is Linux though. That's still more test coverage than before, as we work towards full coverage and full support. |
9b4eb9d
to
8f6613e
Compare
8f6613e
to
010494d
Compare
Oh, nice you even got the stage2 tests passing again. I'm guessing for the Windows failure, this code will need to chop off the extra Lines 229 to 242 in 29d7b5a
I'd be happy to help with this; I have a Windows machine sitting right over here. |
if (false) { | ||
test_step.dependOn(test_stage2_step); | ||
} | ||
test_step.dependOn(test_stage2_step); |
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 don't think the stage2 tests are ready to be resurrected yet, if you look at src-self-hosted/test.zig
, it creates its own event loop, and tries to do evented I/O, but zig test
doesn't support that yet, so it's this weird mixture of evented and blocking (which amazingly apparently did work successfully on Linux and macOS (or maybe not, I see "stage2...SKIP" in the log output)
5e0132d
to
9613bd7
Compare
9613bd7
to
0cbf00a
Compare
Changes
await (async .. catch unreachable)
patterntarget.zig
intoutil.zig
and usestd.Target
std.event
TODO after this
std.event.fs