jzck / kernel-zig Goto Github PK
View Code? Open in Web Editor NEW:floppy_disk: hobby x86 kernel zig
:floppy_disk: hobby x86 kernel zig
Just found your nice little project and tried to build it (zig-0.6.0-2 in WSL) but failed with the named error:
./build.zig:18:11: error: no member named 'setTheTarget' in struct 'std.build.LibExeObjStep'
Seems they changed the build arguments a bit. Unfortunately I am too new to the language to guess where to start looking for how to fix this.
Well, this is why I somehow prefer languages which stick to external build systems like Makefiles, even tho I don't like their syntax :)
Regards, Alex
My zig version is 0.5.0. I also tried 0.6.0 and as expected is not compiling as well.
$ wget https://github.com/ziglang/zig/releases/download/0.5.0/zig-linux-x86_64-0.5.0.tar.xz
$ tar xf zig-linux-x86_64-0.5.0.tar.xz
$ git clone https://github.com/jzck/kernel-zig
$ cd kernel-zig
$ ../zig-linux-x86_64-0.5.0/zig build
...
kernel-zig/src/task.zig:48:28: error: expected type 'usize', found '*.kernel.task.Task'
errdefer vmem.free(t);
^
kernel-zig/src/task.zig:48:27: note: referenced here
errdefer vmem.free(t);
^
kernel-zig/src/task.zig:88:17: note: referenced here
node.data = try Task.create(entrypoint);
^
I tried these steps on both OS X and Linux, with the same error in each case. I haven't used Zig before, so any guidance is most appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.