You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shell: PowerShell (with Gleam installed via Scoop)
Gleam 1.6.2
Project: vanilla gladvent one, (important!) on a WSL mount.
PS Microsoft.PowerShell.Core\FileSystem::\\wsl.localhost\Ubuntu\home\martin\advent-of-code> gleam run new 13 --year 2023
error: Fatal compiler bug!
This is a bug in the Gleam compiler, sorry!
Please report this crash to https://github.com/gleam-lang/gleam/issues/new
and include this error message with your report.
Panic: compiler-cli\src\build_lock.rs:47
Trying build locking: Os { code: 1, kind: Uncategorized, message: "Incorrect function." }
Gleam version: 1.6.2
Operating system: windows
If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.
You may also want to try again with the `GLEAM_LOG=trace` environment
variable set.
I wasn't able to make Gleam log more. I tried these PowerShell ways to do it:
Set-Variable -Name "GLEAM_LOG" -Value "trace"
$Env:GLEAM_LOG = "trace"
A relevant finding: The same command in the same PowerShell session, but in C:\whatever, works just fine. So the issue seems to be something about WSL mounts when accessed from Windows "over the network".
The text was updated successfully, but these errors were encountered:
This looks like a problem the rust/cargo folks have also run into a lot, I'm going to leave those links here for others and look at them more tomorrow :)
The setup:
gladvent
one, (important!) on a WSL mount.I wasn't able to make Gleam log more. I tried these PowerShell ways to do it:
A relevant finding: The same command in the same PowerShell session, but in C:\whatever, works just fine. So the issue seems to be something about WSL mounts when accessed from Windows "over the network".
The text was updated successfully, but these errors were encountered: