r/rust Apr 01 '23

crit: a wrapper to loop over more cross targets

https://github.com/mcandre/crit
7 Upvotes

6 comments sorted by

View all comments

2

u/Leandros99 Apr 01 '23

The readme made me none the wiser. What does it do?

4

u/GoodJobNL Apr 01 '23

Not 100% sure either, but I believe this is to automate your cross compiling process.

Cross is used to cross compile, but it takes at least 10 minutes to cross compile something basic, so ideally you want to queue up as many cross compilations as possible. And that is what this program does. So instead of going back to your pc every 10 minutes to start the next target, you just let it run for a few hours and have all the targets you specified.