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

Improvements to the Heapster Rust translation #1365

Merged
merged 12 commits into from
Jul 1, 2021

Conversation

eddywestbrook
Copy link
Contributor

  • Added the command heapster_define_rust_type_qual to qualify the names of Rust types when we define them, to allow, e.g., both Resut and fmt::Result to exist at the same time.

  • Fixed a bug in heapster_define_rust_type where it would give a weird, incomprehensible error message for recursive Rust types it cannot handle

  • A few other small tweaks and bug fixes

Eddy Westbrook added 10 commits June 30, 2021 15:16
…e qualified with their crates; changed the Rust type translation to use this qualification by translating Rust names in a fully qualified way
…er_define_rust_type_qual to the last commit; also changed parseAndInsDef to not fail when an identifier is already being used, but to instead generate a new, unused identifier
…er to implement a bug fix for heapster_define_rust_type to print out an error message when a recursive type cannot be handled
@eddywestbrook eddywestbrook added the Heapster Issues specifically related to the Heapster sub-system label Jul 1, 2021
@eddywestbrook eddywestbrook added the ready-to-merge If at least one person approves this PR, automatically merge it when CI finishes successfully. label Jul 1, 2021
@mergify mergify bot merged commit 759aed0 into master Jul 1, 2021
@mergify mergify bot deleted the rust-heapster-translation branch July 1, 2021 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Heapster Issues specifically related to the Heapster sub-system ready-to-merge If at least one person approves this PR, automatically merge it when CI finishes successfully.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants