OpenCloudOS-Kernel/samples/rust/hostprogs/single.rs

13 lines
158 B
Rust

// SPDX-License-Identifier: GPL-2.0
//! Rust single host program sample.
mod a;
mod b;
fn main() {
println!("Hello world!");
a::f(b::CONSTANT);
}