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 types for codegen of intrinsic const #268

Merged
merged 3 commits into from
Jun 25, 2021

Conversation

avanhatt
Copy link
Contributor

@avanhatt avanhatt commented Jun 25, 2021

Description of changes:

For generating intrinsic constants, we were using a default size_t type and casting to the expected type. We should just codegen the right type.

Resolved issues:

Resolves #265

Call-outs:

None!

Testing:

  • How is this change tested?

New regression test.

  • Is this a refactor change?

No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@danielsn
Copy link
Contributor

Nice!

@danielsn danielsn merged commit dc073e5 into model-checking:main-153-2021-06-23 Jun 25, 2021
@avanhatt avanhatt mentioned this pull request Jul 6, 2021
5 tasks
@zhassan-aws zhassan-aws mentioned this pull request Aug 6, 2021
4 tasks
@avanhatt avanhatt deleted the intrinsic_cast branch September 14, 2021 15:25
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 22, 2022
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 25, 2022
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 26, 2022
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.

Unable to codegen micro-http crate
2 participants