Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 424 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 424 Bytes

zig-sbi

Zig wrapper around the RISC-V SBI specification.

Compatible with SBI Specification v3.0-rc1.

Installation

Add the dependency to build.zig.zon:

zig fetch --save git+https://github.com/leecannon/zig-sbi

Then add the following to build.zig:

const sbi = b.dependency("sbi", .{});
exe.root_module.addImport("sbi", sbi.module("sbi"));