I have a library crate cargo project that has a bunch of integration tests and unit tests. Currently the binaries produced for execution have different names that get generated dynamically like xxx-ab234-56g..
. Is there a way to set the name of the binaries to a deterministic one in cargo.toml
?
No, there is not. You’re supposed to be launching these through cargo
that will build and run the right thing.
Do you mean to say there will never be this feature if requested ? or it is not available currently ?
There is none currently, and there won't be in the near future.
Cargo tried to have extensible test frameworks and features for exporting build plans, but this work has stalled and sits unfinished for years.
1 Like
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.