with split bins poc

This commit is contained in:
2022-08-20 16:51:07 +02:00
parent 420645983f
commit 32933381dd
1270 changed files with 2756 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
fn main() {
println!("Hello, split_bins_plugin!");
let args = std::env::args();
let exe_name = args.last().expect("could not get last item");
let (tx, rx) = ipc_channel::ipc::channel::<String>().expect("could not open channel");
let tx0 = ipc_channel::ipc::IpcSender::connect(exe_name.to_string())
.expect("could not connect to server");
tx0.send(tx).expect("could not send tx");
let msg = rx.recv().expect("could not receive message");
println!("msg: {}", msg)
}