Skip to content

Commit

Permalink
Merge pull request #111 from permaweb/feat/beamr_load_driver
Browse files Browse the repository at this point in the history
fix: dynamically getting priv directory to load beamr
  • Loading branch information
PeterFarber authored Jan 31, 2025
2 parents fca8276 + 1c1c223 commit 7e70f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hb_beamr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

%% @doc Load the driver for the WASM executor.
load_driver() ->
case erl_ddll:load("./priv", ?MODULE) of
case erl_ddll:load(code:priv_dir(hb), ?MODULE) of
ok -> ok;
{error, already_loaded} -> ok;
{error, Error} -> {error, Error}
Expand Down

0 comments on commit 7e70f0b

Please sign in to comment.