Skip to content

Conversation

@Rua
Copy link
Contributor

@Rua Rua commented Nov 26, 2025

Depends on #1478.

This is more idiomatic, and is also necessary for supporting strict(er) provenance in the future.

@Rua
Copy link
Contributor Author

Rua commented Nov 26, 2025

The testsuite is crashing with a stack overflow. Since all this PR does is replace a cast with a function call, is that particular test nesting calls so deeply that a few extra is making it overrun?

@ahomescu
Copy link
Contributor

This has happened before in the lua test, I made immunant/c2rust-testsuite#37 to compile it in release mode so it doesn't use as much stack.

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.

Use std::ptr::null_mut::<T>() instead of 0 as *mut T

2 participants