Compiling a dependency crate with a different optimisation level

Let's say you have a crate Apple which has as dependency another crate Banana. Is there any easy way to get Apple to compile with -O1 and Banana with -O0?

What you want sounds like the unstable Profile Overrides feature.

1 Like

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