1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 //! Rust single host program sample. 3 //! Rust single host program sample. 4 4 5 mod a; 5 mod a; 6 mod b; 6 mod b; 7 7 8 fn main() { 8 fn main() { 9 println!("Hello world!"); 9 println!("Hello world!"); 10 10 11 a::f(b::CONSTANT); 11 a::f(b::CONSTANT); 12 } 12 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.