spike-sys 0.1.2

Rust bindings for spike
Documentation
  • Coverage
  • 0%
    0 out of 16 items documented0 out of 8 items with examples
  • Size
  • Source code size: 8.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • nervosnetwork/ckb-vm-test-suite
    3 7 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mohanson

A Rust FFI binding for executing instructions in spike (https://github.com/riscv-software-src/riscv-isa-sim). It's not a full binding to spike.

$ cargo build

If the build fails, please install the following dependencies

$ sudo apt install device-tree-compiler

$ wget https://apt.llvm.org/llvm.sh
$ chmod +x llvm.sh
$ sudo ./llvm.sh 16 all
$ rm llvm.sh

How to publish it to crates.io

$ cargo publish --no-verify