Specify Platform Dependent Binary Name

I am trying to specify the output file name of the Cargo build process. The binary needs to have a fixed file name, which is also dependent on the platform (and is not in the snake case form, therefore at the moment I am getting an annoying warning).

My preferred solution would be, that I can set the file name in my build script, so I can just use cargo run to run the program with the correct file name directly. Is there something like this? I was not able to find anything yet.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.