Stream: compiler development

Topic: ✔ cargo build hanging


view this post on Zulip Agus Zubiaga (Sep 29 2023 at 00:50):

I'm looking into #5823: Can't use where as an identifier.

The where keyword is included in this array, but I don't think it should, so I took it out. However, when I make this change cargo build gets stuck compiling roc_load. Any clues why could this happen?

I'm able to build and run main without any issues (on a Linux VM).

view this post on Zulip Rasheed Starlet (Sep 29 2023 at 06:45):

now I am afraid to upgrade to sonoma :smile:

view this post on Zulip Anton (Sep 29 2023 at 08:15):

Perhaps cargo build --verbose could provide some more information on where it's stuck.

view this post on Zulip Folkert de Vries (Sep 29 2023 at 12:30):

it will get stuck there if the standard library fails to build

view this post on Zulip Folkert de Vries (Sep 29 2023 at 12:31):

my guess is that where is still used somewhere, and now that you no longer accept it, it is crashing. Using -vvv "very, very verbose" as an argument to cargo will tell you where it failed and why

view this post on Zulip Agus Zubiaga (Sep 29 2023 at 12:32):

Oh, interesting. Will try that, thanks!

view this post on Zulip Agus Zubiaga (Sep 29 2023 at 12:34):

now I am afraid to upgrade to sonoma

And yeah, there’s no way to build on Sonoma until zig is upgraded. Unless you compile zig 0.9.1 from source and you update some stuff without the breaking changes they introduced.

view this post on Zulip Agus Zubiaga (Sep 29 2023 at 12:39):

I tried -vvvand I can see an error, thank you both!

view this post on Zulip Notification Bot (Sep 30 2023 at 17:29):

Agus Zubiaga has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC