-
Notifications
You must be signed in to change notification settings - Fork 162
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
Crash when extern function item has no return type #595
Comments
I'm still getting an error with 5b3909d when trying to compile this example:
|
Is this with the testcase from the issue above? |
Yes. But this might be the same issue as #421, so perhaps I just spoke too soon 🙂 |
I wonder are you able to run any of the expected pass testcases for unsafe over in: https://github.com/Rust-GCC/gccrs/blob/master/gcc/testsuite/rust/compile/torture/unsafe1.rs Maybe something else is going on if you have the latest code it should be lowering the unsafe to HIR at the moment. |
With 5b3909d, no, it gives a similar error:
But with b992c80 the testcase now builds! 🎉 The
|
Ah yes, this PR #598 fixes that. I am just having some trouble with dejagnu for this test which I am working through before I merge it. |
Originally posted by @philberty in #421 (comment)
The text was updated successfully, but these errors were encountered: