diff --git a/rustler_mix/lib/rustler.ex b/rustler_mix/lib/rustler.ex index 73fd6cdf..487d8b4d 100644 --- a/rustler_mix/lib/rustler.ex +++ b/rustler_mix/lib/rustler.ex @@ -104,13 +104,6 @@ defmodule Rustler do end if config.lib do - {otp_app, path} = config.load_from - - @external_resource Application.app_dir( - otp_app, - "#{path}.#{Rustler.Compiler.get_lib_suffix()}" - ) - @load_from config.load_from @load_data config.load_data @load_data_fun config.load_data_fun diff --git a/rustler_mix/lib/rustler/compiler.ex b/rustler_mix/lib/rustler/compiler.ex index 5a48b729..56982544 100644 --- a/rustler_mix/lib/rustler/compiler.ex +++ b/rustler_mix/lib/rustler/compiler.ex @@ -136,8 +136,6 @@ defmodule Rustler.Compiler do end end - def get_lib_suffix(), do: get_suffix(nil, :lib) - defp get_suffix(target, :lib) do case get_target_os_type(target) do {:win32, _} -> "dll"