Crates.io | spike-sys |
lib.rs | spike-sys |
version | 0.1.2 |
source | src |
created_at | 2023-03-30 08:45:53.980177 |
updated_at | 2023-12-13 02:42:25.652976 |
description | Rust bindings for spike |
homepage | https://github.com/nervosnetwork/ckb-vm-test-suite |
repository | https://github.com/nervosnetwork/ckb-vm-test-suite |
max_upload_size | |
id | 824846 |
size | 9,116 |
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