Making profiles more flexible and useful?

Yes, what is currently provided does not give sufficient flexibility.

The fundamental problem with profile names is, outside of built-in names, the user can define whatever they want and using them would need ecosystem wide conventions.

What CAD97 said in the other thread (detect settings within a profile rather than the profile itself) has recently been discussed by the Cargo team and it is their official stance on how this problem should be solved. So now we just need custom settings.

We have unstable support for profile rustflags but that will likely stay permamently unstable.

As I mentioned in the other thread, Pre-RFC: Mutually-excusive, global features is most likely the path forward for this.

References

2 Likes