summaryrefslogtreecommitdiff
path: root/samples/rust/hostprogs/single.rs
blob: 8c48a119339a88587904cfcf9c1c7bade525cf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0

//! Rust single host program sample.

mod a;
mod b;

fn main() {
    println!("Hello world!");

    a::f(b::CONSTANT);
}