Skip to content
projects
/
linux
·
blob
master ·
refs
linux
samples
rust
hostprogs
single.rs
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
12 lines · 158 B
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
}