Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.35 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.35 KB

rustos

Build Code

Writing an OS in Rust. RustでOS自作入門。

Development

For development in vscode, follow the steps below.

  1. Remove the following line from .cargo/config.
[unstable]
build-std = ["core", "compiler_builtins", "alloc"]
  1. Run cargo install cargo-xbuild && cargo xbuild. This will generate target/sysroot dir that is needed for rls for vscode.
  2. Revert changes you made to .cargo/config.

References

The following posts and books gave me great help to go through this project.