Skip to content

Commit

Permalink
Pin port-compiler (pc) 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zmstone committed Oct 9, 2024
1 parent 35fc117 commit 2f5bbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{w, all},
warn_export_all]}.

{plugins, [pc]}.
{plugins, [{pc, "1.15.0"}]}.

{provider_hooks, [
{pre, [
Expand Down
3 changes: 1 addition & 2 deletions src/snappyer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@

-spec init() -> ok.
init() ->
_ = erlang:load_nif(so_path(), 0),
ok.
ok = erlang:load_nif(so_path(), 0).

-spec compress(iodata()) -> {ok, binary()} | {error, binary()}.
compress(_IoList) ->
Expand Down

0 comments on commit 2f5bbde

Please sign in to comment.