Skip to content

Commit

Permalink
print log for skipped nifs
Browse files Browse the repository at this point in the history
  • Loading branch information
tduccuong committed Jan 30, 2025
1 parent 81f1457 commit 3f89a0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/steps/patch/recompile_nifs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ defmodule Burrito.Steps.Patch.RecompileNIFs do
triplet = Target.make_triplet(context.target)
{:local_unpacked, path: erts_location} = context.target.erts_source
Enum.each(nif_sniff(), fn dep ->
Log.info(:step, "Considering NIF #{inspect(dep)} against skip list #{inspect(skips)}...")
case Enum.member?(skips, dep) do
true -> Log.info(:step, "Ignored NIF #{dep}.")
true -> Log.info(:step, "Ignored NIF #{inspect(dep)}.")
false ->
maybe_recompile_nif(
dep, context.work_dir, erts_location, triplet,
Expand Down

0 comments on commit 3f89a0a

Please sign in to comment.