This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule HtmlLintNative do | |
use Rustler, otp_app: :platform, crate: "platform_plugs_htmllintnative" | |
def add(_a, _b), do: error() | |
def lint(_html_string), do: error() | |
defp error(), do: :erlang.nif_error(:nif_not_loaded) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
succeed |
OlderNewer