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

Update Rustler to v0.35 #1048

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Update Rustler to v0.35 #1048

merged 1 commit into from
Jan 8, 2025

Conversation

philss
Copy link
Contributor

@philss philss commented Jan 8, 2025

We need to update Rustler in order to remove a warning (from the CI) when using Elixir 1.18.

@@ -65,24 +65,32 @@ pub struct ExDataFrame {
pub resource: ResourceArc<ExDataFrameRef>,
}

impl std::panic::RefUnwindSafe for ExDataFrame {}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required because of the change introduced in this PR: rusterlium/rustler#656

let dtype: ExSeriesDtype = term.decode()?;
Ok(Box::new(dtype))
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR implements Encoder/Decoder for a Box => rusterlium/rustler#644
So we could remove these lines.

@philss philss marked this pull request as ready for review January 8, 2025 04:55
@philss philss merged commit 870c32e into main Jan 8, 2025
4 checks passed
@philss philss deleted the ps-update-rustler-to-v0.35 branch January 8, 2025 15:26
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.

2 participants