xref: /dragonos-dsc/README.md (revision f57e6686c1c6d10210e2dbb7b073c50f305bebc5)
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