10 ms·
I don't see how that follows. Declarative build configuration is very good and Rust needs to lean harder in that direction and minimize the use of build.rs.
by vlang1dot0 5y ago
I don't see how that follows. Declarative build configuration is very good and Rust needs to lean harder in that direction and minimize the use of build.rs.
- Shadonototra 5y agobuild.rs is the way to go, configuration withing configuration files is the root for evils like XML scripting in msbuild
- pkolaczk 5y agoThe best way is to keep scripting out of build files. Build recipes must be simple, boring, reliable, and same everywhere. Gradle and SBT allow unlimited scripting and builds often end up as an unreliable mess. The more cleverness they put into the build definition, the more frustrating it is to use in practice.
- Shadonototra 5y agothat's a very good and solid point!