mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
987c56a1538f4a117da20e7d48d6b43b1cd4c8b4
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 (Returning from Exceptions)
This repository contains the source code for the Returning from 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, a nightly Rust compiler, and xargo 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%