mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
02b8078e1d61293d3f26c9063afff57db38ad233
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 (Catching Exceptions)
This repository contains the source code for the Catching Exceptions 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%