Fără Descriere

LoGin b7ebf35ff3 增加getcwd、getppid、getpgid系统调用号 (#8) 2 ani în urmă
.vscode f57e6686c1 增加fstat系统调用号 (#6) 2 ani în urmă
src b7ebf35ff3 增加getcwd、getppid、getpgid系统调用号 (#8) 2 ani în urmă
.gitignore f073773275 Initial commit 2 ani în urmă
Cargo.toml f3fdbe9cf1 set package name to DragonOS-dsc 2 ani în urmă
LICENSE 4c85862c28 Initial commit 2 ani în urmă
README.md 943c158aa5 添加cargo doc,并完善编译命令 2 ani în urmă
rust-toolchain.toml 48e1ddd0a7 add-network-syscall-nr 2 ani în urmă
toolchain.sh f179f81b89 dsc 2 ani în urmă

README.md

dsc - DragonOS Raw Syscall Binding

This is a raw syscall binding for DragonOS. It is not meant to be used directly, but rather as a dependency for other crates.

Usage

Add this to your Cargo.toml:

[dependencies]
dsc = { git = "https://github.com/DragonOS-Community/dsc.git" }

Development

如果您正在开发dsc,请您在引入dsc的库的Cargo.toml中添加如下内容,而不是使用上述的代码:

[dependencies]
dsc = { path = "您本地存放dsc的源代码的路径" }

How to build

ARCH=x86_64 && cargo build -Zbuild-std --release --target src/platform/$ARCH/target.json 

How to build docs

ARCH=x86_64 && cargo doc -Zbuild-std --release --target src/platform/$ARCH/target.json 

What is DragonOS?

DragonOS is an opensource operating system developed for the server field. Its kernel and user mode environment are developed from scratch, and provides Linux compatibility.

License

Licensed under