17 lines
312 B
Rust
17 lines
312 B
Rust
#![no_std]
|
|
#![cfg_attr(test, no_main)]
|
|
#![feature(custom_test_frameworks)]
|
|
#![test_runner(crate::test_utils::test_runner)]
|
|
#![reexport_test_harness_main = "test_main"]
|
|
|
|
pub mod test_utils;
|
|
pub mod serial;
|
|
pub mod vga_buffer;
|
|
|
|
#[cfg(test)]
|
|
#[no_mangle]
|
|
pub extern "C" fn _start() {
|
|
test_main();
|
|
loop {}
|
|
}
|