Looking at the ongoing effort to reduce build times across the ecosystem, I've stumbled upon this commit, which makes syn and other build-time dependencies be compiled with no debug info nor optimisations. This is neat, but it only happens for the dev profile, whereas AFAICT we don't want to compile syn with optimisations even in release mode in this instance. Unfortunately, the Cargo manifest has no way to specify things for multiple profiles at all.
Would it make sense to support something like [profile.*.blablabla] to set something across all profiles at once?
Looking at the ongoing effort to reduce build times across the ecosystem, I've stumbled upon this commit, which makes
synand other build-time dependencies be compiled with no debug info nor optimisations. This is neat, but it only happens for thedevprofile, whereas AFAICT we don't want to compilesynwith optimisations even in release mode in this instance. Unfortunately, the Cargo manifest has no way to specify things for multiple profiles at all.Would it make sense to support something like
[profile.*.blablabla]to set something across all profiles at once?