Howevver, i would like binary_2 to have some optional parameter during build, like let's say an ip that could be different at each build. I don't want to pass the ip as a parameter to binary_2, but to be "hardcoded" into binary_2.
I thought about environment variable to be passed into cargo that specify the ip that has to be hardcoded into binary_2. I try with:
std::env::set_var("FOO":"BAR")
but obviously it doesn"t pass into binary_2 via cargo
I would like the binary to be portable . If i take the compiled version, it has to contains that ip, because of course the environment variable may not be present