I’m building a package for bindings to a c library that can only be used on Linux systems. Does dune provide a way to check the OS version and stop the build and print a nice error message if the OS is not Linux?
I see that dune has variable to check the OS version with
os_version variable. I’m not quite sure how to do the rest of this.