Skip to content
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

Merged
merged 2 commits into from
Nov 21, 2023
Merged

release: 1.0.0-rc2 #11

merged 2 commits into from
Nov 21, 2023

Conversation

bhelx
Copy link
Contributor

@bhelx bhelx commented Nov 21, 2023

No description provided.

assert {:error, err_msg} = result
assert err_msg =~ ~r/Uncaught SyntaxError/
end
# test "handles error on call" do
Copy link
Contributor Author

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",
Copy link
Contributor Author

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) {
Copy link
Contributor Author

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.

@bhelx bhelx merged commit 51cd677 into main Nov 21, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant