I'm using the [features]
option of Cargo to conditionally compile certain things in my project.
Is it possible to change the output directory (or target name) of my Rust library based on the features that were selected at compile time?
The exact place where this is causing me problems is with users who are compiling my Rust library as part of a larger C/C++ project. They have different Make targets which compile the my library with different features but since the output from each feature configuration is the same artifact they end up clobbering one another.