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 Rust to Heapster type translation for functions with no return value #1445

Merged
merged 10 commits into from
Sep 3, 2021

Conversation

eddywestbrook
Copy link
Contributor

This PR adds a special case to translate Rust function types with no return value to have unit return type, rather than an empty struct return type, as that is how these functions are compiled.

Note that this PR depends on #1440 and #1441, so should not be merged until those are.

@eddywestbrook eddywestbrook added the subsystem: heapster Issues specifically related to memory verification using Heapster label Sep 1, 2021
Copy link
Member

@ChrisEPhifer ChrisEPhifer left a comment

Choose a reason for hiding this comment

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

Everything looks good to me!

@eddywestbrook eddywestbrook added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label Sep 3, 2021
@eddywestbrook eddywestbrook merged commit e65e067 into master Sep 3, 2021
@mergify mergify bot deleted the heapster-rust-no-return-value branch September 3, 2021 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run subsystem: heapster Issues specifically related to memory verification using Heapster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants