Closed tessus closed 1 year ago
Thanks a lot! And I learned something as well, as I wasn't aware of std::env::consts
(but used conditional compilation for these things as a binary is built per platform anyway).
You are welcome. Using conditional compilation is a mistake in most cases. e.g. for something like this it makes no sense.
Conditional compilation makes sense for libraries when the functions/methods are fundamentally different and are thousand of lines long.
fixes #85