/rustos

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

Primary LanguageRust

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.