Skip to content

VamKram/lina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x86_64 操作系统 write in rust

💗💗💗💗

How to use

cargo build

# 运行
cargo run

如果出现这个报错 img.png

# 报错尝试增加 llvm tools 到项目
rustup component add rust-src llvm-tools-preview

参考下这个问题 解决一些不同架构的思路 img.png

Commands

绑定环境

cargo rustc -- -C link-args="-e __start -static -nostartfiles"

** 从源码编译 **

rustup component add rust-src

** 使用 **

cargo run

inspiration by https://os.phil-opp.com/

About

A x86_64 架构的 tiny os

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages