On Fri, Oct 25, 2019 at 06:10:15PM +0200, Christian Hesse wrote: > We decided to go another way and introduced a constructor function which does > initial environment setup: > > https://git.zx2c4.com/cgit/commit/?id=034e3c7d56ba71ce281886fe8525b16d4559fac1 > > Everything (including tests) is happy with that. Thanks for following up. I think that should be a fine solution. We'd perhaps have considered using __attribute__((constructor)) ourselves (which would presumably have a non-deterministic run order), but it's not sufficiently portable for our purposes. So I don't think you'll run into any issues going forward with that approach. -Peff