Giter Site home page Giter Site logo

kernel-zig's People

Contributors

jzck avatar nuetoban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kernel-zig's Issues

Build fails: "./build.zig:18:11: error: no member named 'setTheTarget' in struct 'std.build.LibExeObjStep'"

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

Build failure: `expected type 'usize', found '*.kernel.task.Task'` in `errdefer vmem.free(t)`

$ 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.