Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.vscode/ | H | - | - | 5 | 5 | |
src/ | H | - | - | 446 | 320 | |
.gitignore | H A D | 01-Apr-2023 | 20 | 3 | 2 | |
Cargo.toml | H A D | 17-Apr-2023 | 384 | 16 | 13 | |
LICENSE | H A D | 01-Apr-2023 | 1 KiB | 22 | 17 | |
README.md | H A D | 17-Apr-2023 | 1.2 KiB | 47 | 30 | |
rust-toolchain.toml | H A D | 17-Apr-2023 | 69 | 4 | 3 | |
toolchain.sh | H A D | 02-Apr-2023 | 1.3 KiB | 42 | 39 |
README.md
1# dsc - DragonOS Raw Syscall Binding 2 3This is a raw syscall binding for DragonOS. It is not meant to be used directly, but rather as a dependency for other crates. 4 5## Usage 6 7Add this to your `Cargo.toml`: 8 9```toml 10[dependencies] 11dsc = { git = "https://github.com/DragonOS-Community/dsc.git" } 12``` 13 14## Development 15 16如果您正在开发dsc,请您在引入dsc的库的`Cargo.toml`中添加如下内容,而不是使用上述的代码: 17 18```toml 19[dependencies] 20dsc = { path = "您本地存放dsc的源代码的路径" } 21``` 22 23## How to build 24 25```bash 26ARCH=x86_64 && cargo build -Zbuild-std --release --target src/platform/$ARCH/target.json 27``` 28 29## How to build docs 30 31```bash 32ARCH=x86_64 && cargo doc -Zbuild-std --release --target src/platform/$ARCH/target.json 33``` 34 35## What is DragonOS? 36 37DragonOS is an opensource operating system developed for the server field. 38Its kernel and user mode environment are developed from scratch, and provides Linux compatibility. 39 40- [DragonOS Website](https://dragonos.org) 41- [DragonOS Github](https://github.com/DragonOS-Community) 42 43## License 44 45Licensed under 46 * MIT license ([LICENSE-MIT](LICENSE) or http://opensource.org/licenses/MIT) 47