Name Date Size #Lines LOC

..--

.vscode/H--55

src/H--446320

.gitignoreH A D01-Apr-202320 32

Cargo.tomlH A D17-Apr-2023384 1613

LICENSEH A D01-Apr-20231 KiB2217

README.mdH A D17-Apr-20231.2 KiB4730

rust-toolchain.tomlH A D17-Apr-202369 43

toolchain.shH A D02-Apr-20231.3 KiB4239

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