1. 27
  1.  

  2. 3

    Heh. Reminds me of the more serious libfaketime, which is sometimes used in reproducible builds and can be useful for various kinds of testing.

    1. 2

      I wish I had known about this before writing a wrapper around Instant so that I could properly test code that uses it! I could just hide that extern ā€œCā€ definition behind #[cfg(test)].