xref: /linux/samples/rust/hostprogs/single.rs (revision 2330437da0994321020777c605a2a8cb0ecb7001)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 //! Rust single host program sample.
4 
5 mod a;
6 mod b;
7 
8 fn main() {
9     println!("Hello world!");
10 
11     a::f(b::CONSTANT);
12 }
13