philss / rustler_precompiled

Use precompiled NIFs from trusted sources in your Elixir code
181 stars 25 forks source link

Example in `RustlerPrecompiled.target` is incorrect #31

Closed jackalcooper closed 1 year ago

jackalcooper commented 1 year ago
  ## Examples

      iex> RustlerPrecompiled.target()
      {:ok, "nif-2.16-x86_64-unknown-linux-gnu"}

      iex> RustlerPrecompiled.target()
      {:ok, "nif-2.15-aarch64-apple-darwin"}

https://github.com/philss/rustler_precompiled/blob/2e34accc510853b520a0e3953ff9722578fcb44e/lib/rustler_precompiled.ex#L215

RustlerPrecompiled.target/0 is undefined or private. Did you mean:

      * target/1
      * target/2
philss commented 1 year ago

@jackalcooper thanks for pointing out. This is now fixed in version 0.5.2.