Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Can not build on windows os #2

Open
wsdjeg opened this issue Feb 18, 2020 · 1 comment
Open

Can not build on windows os #2

wsdjeg opened this issue Feb 18, 2020 · 1 comment

Comments

@wsdjeg
Copy link

wsdjeg commented Feb 18, 2020

Just clone this repo, and run zig build, and I get:

.\src\main.zig:144:36: error: container 'std.heap' has no member called 'DirectAllocator'
    var direct_allocator = std.heap.DirectAllocator.init();
                                   ^
D:\zig\lib\zig\std\start.zig:250:40: note: referenced here
            const result = root.main() catch |err| {
                                       ^
ztags...The following command exited with error code 1:
D:\zig\zig.exe build-exe F:\ztags\src\main.zig --cache-dir F:\ztags\zig-cache --name ztags --cache on

Build failed. The following command failed:
F:\ztags\zig-cache\o\h-6OahYKUODwAXnD5yCgEydQWhn1kDIdeIg_6Js-h-P7AySO0iPphxi3sDCuMNlr\build.exe D:\zig\zig.exe F:\ztags F:\ztags\zig-cac
he

@watzon
Copy link

watzon commented Mar 2, 2020

Doesn't build at all actually. I think this was made with the 0.4.0 release in mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants