mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
e8d1f96b7637d46cba2e572bd6810d08b37045cc
print function and use it in the print macro
This fixes the deadlock problem, because the format_args is now evaluated before locking the screen writer. So `println!("{:?}", {println!("");})` no longer triggers a deadlock.
(cherry picked from commit d96df500a7)
Blog OS (Better Exception Messages)
This repository contains the source code for the Better Exception Messages post of the Writing an OS in Rust series.
Check out the master branch for more information.
Building
You need to have nasm, grub-mkrescue, xorriso, qemu, and a nightly Rust compiler installed. Then you can run it using make run.
Please file an issue if you have any problems.
License
The source code is dual-licensed under MIT or the Apache License (Version 2.0).
Description
Languages
HTML
96.5%
SCSS
1.5%
CSS
1.2%
JavaScript
0.4%
Python
0.2%