Skip to content
projects
/
linux
·
blob
master ·
refs
linux
samples
rust
hostprogs
a.rs
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
7 lines · 153 B
1
//
SPDX-License-Identifier: GPL-2.0
2
3
//!
Rust single host program sample: module `a`.
4
5
pub
(
crate
)
fn
f
(
x
:
i32
)
{
6
println!
(
"
The number is
{}
.
"
,
x
)
;
7
}