Problem
I started investigating where my project's build time was being spent. Currently, building 376 units takes 36 seconds, with the longest unit being objc2-foundation:
objc2-foundation itself is a dependency of os_info, which is used in this library.
I created a project with human-panic and took the code from the example, and here we also see that 90% of the build time is spent on objc2-foundation:
Possible solutions
Replace the os_info library with std::env::consts::OS from Rust itself.