Skip to content

Commit

Permalink
Uplift rebar3 -> 3.18.0 (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Feb 13, 2024
1 parent 999ce8b commit f5fed0a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{minimum_otp_vsn, "22.0"}.
{minimum_otp_vsn, "22.3"}.

{erl_opts,
[warnings_as_errors,
{platform_define, "^2[2-5]{1}", if_check}]}.
{erl_opts, [warnings_as_errors]}.

{xref_checks, [undefined_function_calls,undefined_functions]}.
{xref_checks,
[undefined_function_calls,undefined_functions,
locals_not_used,
deprecated_function_calls, deprecated_functions]}.

{cover_excl_mods,
[testutil,
Expand All @@ -25,7 +26,7 @@
]}.

{deps, [
{lz4, ".*", {git, "https://github.com/martinsumner/erlang-lz4", {branch, "develop-3.1"}}},
{lz4, ".*", {git, "https://github.com/nhs-riak/erlang-lz4", {branch, "nhse-develop"}}},
{zstd, ".*", {git, "https://github.com/nhs-riak/zstd-erlang", {branch, "nhse-develop"}}}
]}.

Expand Down
Binary file modified rebar3
Binary file not shown.
2 changes: 1 addition & 1 deletion src/leveled_pmanifest.erl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
% At o(10) trillion keys behaviour may become increasingly
% difficult to predict.

-ifdef(if_check).
-if(OTP_RELEASE >= 25).
-if(length(?LEVEL_SCALEFACTOR) /= ?MAX_LEVELS).
-error("length ?LEVEL_SCALEFACTOR differs from ?MAX_LEVELS").
-endif.
Expand Down

0 comments on commit f5fed0a

Please sign in to comment.