Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: only enabled for 0.16-dev (not 0.15-dev)
Browse files Browse the repository at this point in the history
ysbaddaden authored Jan 10, 2025
1 parent ce6e9a2 commit df65a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crystal/once.cr
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
# thread even without the `preview_mt` flag, and the thread can also reference
# Crystal constants, leading to race conditions, so we always enable the mutex.

{% if compare_versions(Crystal::VERSION, "1.15.0-dev") >= 0 %}
{% if compare_versions(Crystal::VERSION, "1.16.0-dev") >= 0 %}
# This implementation uses an enum over the initialization flag pointer for
# each value to find infinite loops and raise an error.

0 comments on commit df65a45

Please sign in to comment.