From c17ad748abe248036f46418ae0c5f0486919b8d7 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Thu, 5 Dec 2024 11:38:16 +0100 Subject: [PATCH] chore: expand `multibin` example/test Signed-off-by: Roman Volosatovs --- examples/rust-hello-multibin/Cargo.toml | 3 +++ examples/rust-hello-multibin/src/main.rs | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 examples/rust-hello-multibin/src/main.rs diff --git a/examples/rust-hello-multibin/Cargo.toml b/examples/rust-hello-multibin/Cargo.toml index c0f4eb64..4056a212 100644 --- a/examples/rust-hello-multibin/Cargo.toml +++ b/examples/rust-hello-multibin/Cargo.toml @@ -17,4 +17,7 @@ test = true name = "bye" required-features = ["some"] +[[bin]] +name = "rust-hello-multibin" + [dependencies] diff --git a/examples/rust-hello-multibin/src/main.rs b/examples/rust-hello-multibin/src/main.rs new file mode 100644 index 00000000..fb7ae0c6 --- /dev/null +++ b/examples/rust-hello-multibin/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, multibin!"); +}