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

C: Use pointer types #882

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

sunfishcode
Copy link
Member

Teach the C backend to use C pointer types. This is similar to #870 for Rust. C is less concerned about provenance, but it makes the ABI easier to understand and reduces the amount of casting needed in the generated code.

While here, I also optimized the code for list deallocation slightly.

Teach the C backend to use C pointer types. This is similar to bytecodealliance#870
for Rust. C is less concerned about provenance, but it makes the ABI
easier to understand and reduces the amount of casting needed in the
generated code.

While here, I also optimized the code for list deallocation slightly.
@alexcrichton alexcrichton added this pull request to the merge queue Mar 6, 2024
Merged via the queue into bytecodealliance:main with commit 745f48d Mar 6, 2024
12 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/c branch August 15, 2024 15:31
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