I started making a crate for the iperf3 library. The library and the executable are built from sources.
I am looking for a way to get the path to the iperf3 executable in my integration tests. The executable path looks like “./target/debug/build/iperf3-xxxxxxxxxxxxxxxx/out/bin/iperf3”.
How can I obtain it programmatically?