MemoryShore 7c654bcccc 添加目标linux的条件编译项 (#21) | 1 year ago | |
---|---|---|
.vscode | 1 year ago | |
src | 1 year ago | |
.gitignore | 1 year ago | |
Cargo.toml | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
rust-toolchain.toml | 1 year ago | |
toolchain.sh | 1 year ago |
This is a raw syscall binding for DragonOS. It is not meant to be used directly, but rather as a dependency for other crates.
Add this to your Cargo.toml
:
[dependencies]
dsc = { git = "https://github.com/DragonOS-Community/dsc.git" }
如果您正在开发dsc,请您在引入dsc的库的Cargo.toml
中添加如下内容,而不是使用上述的代码:
[dependencies]
dsc = { path = "您本地存放dsc的源代码的路径" }
ARCH=x86_64 && cargo build -Zbuild-std --release --target src/platform/$ARCH/target.json
ARCH=x86_64 && cargo doc -Zbuild-std --release --target src/platform/$ARCH/target.json
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.
Licensed under