summaryrefslogtreecommitdiff
path: root/samples/rust/hostprogs/a.rs
blob: f7a4a3d0f4e0b53bf3f61a2ba46bdff5a4139a6f (plain)
1
2
3
4
5
6
7
// SPDX-License-Identifier: GPL-2.0

//! Rust single host program sample: module `a`.

pub(crate) fn f(x: i32) {
    println!("The number is {}.", x);
}