Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
luojia65 authored Oct 6, 2022
2 parents bbabc67 + 5ac74ac commit b4ff8da
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
16 changes: 13 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
[package]
name = "sbi-rt"
version = "0.0.1"
version = "0.0.0"
edition = "2021"
description = "Runtime library for supervisors to call RISC-V Supervisor Binary Interface (RISC-V SBI)"
categories = ["os", "no-std"]
categories = ["os", "embedded", "hardware-support", "no-std"]
keywords = ["riscv", "sbi", "rustsbi"]
authors = ["YdrMaster <ydrml@hotmail.com>", "Luo Jia <me@luojia.cc>"]
authors = [
"YdrMaster <ydrmaster@hotmail.com>",
"Luo Jia <me@luojia.cc>",
]
repository = "https://github.com/rust
repository = "https://github.com/rustsbi/sbi-rt"
documentation = "https://docs.rs/sbi-rt"
license = "MulanPSL-2.0 OR MIT"
readme = "README.md"

[package.metadata.docs.rs]
default-target = "riscv64imac-unknown-none-elf"
targets = [
"riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf",
]

[dependencies]
sbi-spec = { git = "https://github.com/rustsbi/sbi-spec.git", branch = "dev" }
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# sbi-rt

[![crates.io](https://img.shields.io/crates/v/sbi-rt.svg)](https://crates.io/crates/sbi-rt)
[![Documentation](https://docs.rs/sbi-rt/badge.svg)](https://docs.rs/sbi-rt)
![License](https://img.shields.io/crates/l/sbi-rt.svg)

- [An English README](README_EN.md)

为特权软件提供 RISC-V 特权二进制接口(Supervisor Binary Interface)的运行时库。
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![no_std]
//! Simple RISC-V SBI runtime primitives
#![no_std]

// §3
mod binary;
Expand Down

0 comments on commit b4ff8da

Please sign in to comment.