xref: /openbmc/linux/samples/rust/hostprogs/a.rs (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*e4fc6580SMiguel Ojeda // SPDX-License-Identifier: GPL-2.0
2*e4fc6580SMiguel Ojeda 
3*e4fc6580SMiguel Ojeda //! Rust single host program sample: module `a`.
4*e4fc6580SMiguel Ojeda 
f(x: i32)5*e4fc6580SMiguel Ojeda pub(crate) fn f(x: i32) {
6*e4fc6580SMiguel Ojeda     println!("The number is {}.", x);
7*e4fc6580SMiguel Ojeda }
8