-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsMicrosoft WindowsMicrosoft WindowsregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.
Milestone
Description
Zig Version
0.15.2 and 0.15.1
Steps to Reproduce and Observed Behavior
Hey guys, I'm new to zig, and tried to build a repo from source. But I got the below errors are from ziglang. I tried both 0.15.1 and 0.15.2, but both of them failed. Thank you for helping in advance!
git clone https://github.com/rockorager/libvaxiszig build- Got the below errors
PS D:\Download_D\Repos\libvaxis> zig version
0.15.2
PS D:\Download_D\Repos\libvaxis> zig build
thread 62000 panic: reached unreachable code
C:\Users\alber\.zvm\0.15.2\lib\std\debug.zig:559:14: 0x7ff6080192ad in assert (build_zcu.obj)
if (!ok) unreachable; // assertion failure
^
C:\Users\alber\.zvm\0.15.2\lib\std\Build\Step\Run.zig:662:11: 0x7ff60817bd6e in convertPathArg (build_zcu.obj)
assert(!std.fs.path.isAbsolute(child_cwd_rel));
^
C:\Users\alber\.zvm\0.15.2\lib\std\Build\Step\Run.zig:746:39: 0x7ff6081091d4 in make (build_zcu.obj)
run.convertPathArg(.{ .root_dir = .cwd(), .sub_path = file_path }),
^
C:\Users\alber\.zvm\0.15.2\lib\std\Build\Step.zig:255:33: 0x7ff6080d1015 in make (build_zcu.obj)
const make_result = s.makeFn(s, options);
^
C:\Users\alber\.zvm\0.15.2\lib\compiler\build_runner.zig:1169:31: 0x7ff6080bbe0a in workerMakeOneStep (build_zcu.obj)
const make_result = s.make(.{
^
C:\Users\alber\.zvm\0.15.2\lib\std\Thread\Pool.zig:118:39: 0x7ff6080bc669 in runFn (build_zcu.obj)
@call(.auto, func, closure.arguments);
^
C:\Users\alber\.zvm\0.15.2\lib\std\Thread\Pool.zig:293:27: 0x7ff6080eda63 in worker (build_zcu.obj)
runnable.runFn(runnable, id);
^
C:\Users\alber\.zvm\0.15.2\lib\std\Thread.zig:509:13: 0x7ff6080cf13c in callFn__anon_79381 (build_zcu.obj)
@call(.auto, f, args);
^
C:\Users\alber\.zvm\0.15.2\lib\std\Thread.zig:622:30: 0x7ff6080ba872 in entryFn (build_zcu.obj)
return callFn(f, self.fn_args);
^
???:?:?: 0x7ffee28ae8d6 in ??? (KERNEL32.DLL)
???:?:?: 0x7ffee47ec53b in ??? (ntdll.dll)
error: unable to read results of configure phase from '.zig-cache\tmp\f649d05f91dd5bb7': FileNotFound
PS D:\Download_D\Repos\libvaxis> ables.zig)
Expected Behavior
zig build without errors
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsMicrosoft WindowsMicrosoft WindowsregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.