Skip to content

REQUIRE should not have side effects

Evan Hunt requested to merge each-require-has-side-effects into main

there were cases where a REQUIRE contained an atomic_compare_exchange call that needs to have run for the server to work. since people sometimes compile with REQUIRE redefined as a no-op, this is a bad idea.

Edited by Evan Hunt

Merge request reports