BUPT-OS / RROS

RROS is a dual-kernel OS for satellites or other scenarios that need both real-time and general-purpose abilities. RROS = RTOS (Rust) + Linux (C).
https://bupt-os.github.io/website/
Other
570 stars 40 forks source link

miss unsafe documentation #19

Open Richardhongyu opened 10 months ago

Richardhongyu commented 10 months ago
// rust/kernel/kernelh.rs
    arg1: *const c_char,
    arg2: *const c_char,
) -> *mut c_char {
    unsafe { bindings::kasprintf(gfp, fmt, arg1, arg2) }

There should be an unsafe comment above the unsafe block.