utsaslab / rustfs

A Rust user-space file system [WIP]
Other
28 stars 7 forks source link

Add hello_bdev_nvme_rust program #3

Closed xxks-kkk closed 6 years ago

xxks-kkk commented 6 years ago

Implement a Rust version of "hello_nvme_bdev.c" and able to demonstrate the capability of invoking SPDK library from Rust.

To run the program:

$ cd /home/zeyuanhu/rustfs/examples/hello_nvme_bdev_rust
$ sudo -E /home/zeyuanhu/.cargo/bin/cargo run