q.exe hangs forever when /lib/ is not present #18
Labels
No labels
arch
arm
arch
x86
bug
duplicate
enhancement
help wanted
invalid
os
linux
os
mac
os
windows
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 45 minutes
Due date
ed
45 minutes
No due date set.
Dependencies
No dependencies set.
Reference
cli/q#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I compile a hello world and the executable doesn’t have a lib directory it goes into an infinite loop instead of showing an error
This is a minor issue I just wanted to let you know about.
Could you try this?
1.) Pick a location to save the project in, feel free to edit
$env:USERPROFILE\qto your liking!2.) Add
%USERPROFILE%\qto the PATH.There is currently no installer for Windows, so it needs to be downloaded and added to the PATH manually.
Regarding the endless loop, I will look into it and see if we can display a proper error message for the case it can't find the standard library.
The problem is likely here as this cancellation condition doesn't work on Windows:
if dir == "/" {panic("standard library not found")}I just waned to point out you can close this issue
@Furkan wrote in #18 (comment):
Fixed in
7a440c828b.Thanks for the bug report!