-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: 1.0.0-rc2 #11
Conversation
assert {:error, err_msg} = result | ||
assert err_msg =~ ~r/Uncaught SyntaxError/ | ||
end | ||
# test "handles error on call" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: going to fix this in a follow up
@@ -4,7 +4,7 @@ defmodule Extism.MixProject do | |||
def project do | |||
[ | |||
app: :extism, | |||
version: "1.0.0-rc1", | |||
version: "1.0.0-rc2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will bump to rc3 in a follow up
} | ||
// #[rustler::nif] | ||
// fn set_log_file(file: String, log_level: String) -> Result<Atom, rustler::Error> { | ||
// match extism::set_log_callback(logger, log_level) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to refactor this to use set_log_callback. But, elixir callbacks aren't really a thing in rustler because you can't call erlang code from a NIF. so we'll need to come up with something more convoluted to handle this by using send
to a PID that the user passes in and subcribes to.
No description provided.