Skip to content

Commit

Permalink
Make sure stringprep isn't compiled to native code
Browse files Browse the repository at this point in the history
NIFs cannot be loaded from a HiPE-compiled module.
  • Loading branch information
weiss committed Sep 7, 2016
1 parent 0ef48ae commit 757c501
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stringprep.erl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

-author('alexey@process-one.net').

-compile(no_native).

-export([start/0, load_nif/0, tolower/1, nameprep/1,
nodeprep/1, resourceprep/1]).

Expand Down

0 comments on commit 757c501

Please sign in to comment.