spike-sys

Crates.iospike-sys
lib.rsspike-sys
version0.1.2
sourcesrc
created_at2023-03-30 08:45:53.980177
updated_at2023-12-13 02:42:25.652976
descriptionRust bindings for spike
homepagehttps://github.com/nervosnetwork/ckb-vm-test-suite
repositoryhttps://github.com/nervosnetwork/ckb-vm-test-suite
max_upload_size
id824846
size9,116
Mohanson (mohanson)

documentation

README

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
Commit count: 65

cargo fmt