Hacker News new | ask | show | jobs
by vanderZwan 2329 days ago
> Build scripts in Rust are written in Rust, not some ad-hoc declarative build language.

And therefore also platform-independent by default, I guess?

1 comments

And therefore can be treated just like any other Rust code.

I can use frameworks in my build script (lol at the idea of using makefile frameworks).

And I can also build up on these. Like your build script really just invokes other dependencies' build scripts. So I never really care about integrating some low-level dependency. This might work with other build systems in theory but never in practice.

Maybe I generate some assets during compile time and really want to cache these. I can legit just add some sort of disk cache framework to my build script and just serialize the paths and then load that up on recompilation instead of regenerating things.

I am getting an aneurysm just from thinking about doing this in makefiles.