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 crash when extern function item has no return type #596

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

philberty
Copy link
Member

Addresses #421
Fixes #595

Return types are optional in rust and extern fn items can be a ZST for the
result.

Addresses #421
Fixes #595
@philberty philberty added the bug label Jul 26, 2021
@philberty philberty added this to the Data Structures 3 - Traits milestone Jul 26, 2021
@philberty philberty self-assigned this Jul 26, 2021
@philberty
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 26, 2021

Build succeeded:

@bors bors bot merged commit 5b3909d into master Jul 26, 2021
@philberty philberty deleted the phil/extern-fn-crash branch July 28, 2021 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when extern function item has no return type
1 participant