mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
13 lines
158 B
Rust
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);
|
||
|
}
|