Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force constant/static time #50

Open
edulix opened this issue Jan 24, 2023 · 0 comments
Open

Force constant/static time #50

edulix opened this issue Jan 24, 2023 · 0 comments

Comments

@edulix
Copy link

edulix commented Jan 24, 2023

Sometimes for unit tests or even for reproducible builds one wants to force a specific time to be returned by a call returning something like instant::now().

See https://reproducible-builds.org/docs/source-date-epoch/ for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant