mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
090e0785ff7dec4eaee9a99ec3ad6e44638dc586
We require/assume that these pointers are correct. Using references is cleaner than blindly dereferencing raw pointers.
Important: The Rust book guarantees that: “At runtime, a raw pointer * and a reference pointing to the same piece of data have an identical representation.”
(cherry picked from commit 15feb9a120)
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%