summaryrefslogtreecommitdiffstats
path: root/samples/rust/hostprogs/b.rs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/rust/hostprogs/b.rs')
-rw-r--r--samples/rust/hostprogs/b.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/rust/hostprogs/b.rs b/samples/rust/hostprogs/b.rs
new file mode 100644
index 0000000000..c167589064
--- /dev/null
+++ b/samples/rust/hostprogs/b.rs
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
+//! Rust single host program sample: module `b`.
+
+pub(crate) const CONSTANT: i32 = 42;