I followed a guide from os-phil-opp and it worked fine until I tried to compile it. It then threw an error:
Building kernel
Compiling blog_os v0.1.0 (/home/vsonline/workspace/blog_os)
error[E0560]: struct vga_buffer::ScreenChar has no field named ascii_character
--> src/vga_buffer.rs:64:21
|
64 | ascii_character: byte,
| ^^^^^^^^^^^^^^^ help: a field with a similar name exists: ascii_charcter
error: aborting due to previous error
For more information about this error, try rustc --explain E0560.
error: could not compile blog_os.
To learn more, run the command again with --verbose.
Error: Kernel build failed```
Cargo.toml:
[package]
name = "blog_os"
version = "0.1.0"
authors = ["Ilari, Ryan Nathaniel <ryan.ilari@stu.scott.kyschools.us>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bootloader = "0.8.0"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
I have no clue about the error, I am new to Rust.