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

fix: bug in host function return values #34

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

chrisdickinson
Copy link
Contributor

Fix an incompatibility between the rust-pdk and python-sdk when using type inferred host functions. Specifically, the python-sdk was trying to return the integer value directly instead of allocating kernel memory.

@JustRedTTG
Copy link
Contributor

This is addressing #33

Copy link
Contributor

@zshipko zshipko left a comment

Choose a reason for hiding this comment

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

The changes look good but I think you will need to run just format to fix CI

@chrisdickinson chrisdickinson force-pushed the chris/20250127-emplacement-bug branch from a429650 to abd42dd Compare January 29, 2025 18:11
@chrisdickinson
Copy link
Contributor Author

(Ooh, good catch – thanks; reformatted and re-pushed!)

@chrisdickinson chrisdickinson merged commit ba9a8de into main Jan 29, 2025
6 checks 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.

3 participants