These files exist for these reasons:
- boot.s - kernel entry point that sets up the processor environment
- kernel.c - your actual kernel routines
- linker.ld - for linking the above files
Keeping this here for now, might need to change entry later, also link-args for rustc might be outdated.
cargo rustc -- -C link-arg=-nostartfiles
cargo rustc -- -C link-args="/ENTRY:_start /SUBSYSTEM:console"
cargo rustc -- -C link-args="-e __start -static -nostartfiles"
Interesting unstable rust features that might be useful
Custom test frameworks:
Inline Const Pattern:
Inline Const:
Negative Impls: