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

Reachability analysis cannot see through FFI #3263

Open
tautschnig opened this issue Jun 12, 2024 · 1 comment
Open

Reachability analysis cannot see through FFI #3263

tautschnig opened this issue Jun 12, 2024 · 1 comment
Labels
[C] Feature / Enhancement A new feature request or enhancement to an existing feature.

Comments

@tautschnig
Copy link
Member

See #3253 (comment) for an example of a test that fails when we don't directly use in Rust the function that is otherwise only invoked from C code. We might consider marking all functions with attribute no_mangle reachable.

@tautschnig tautschnig added the [C] Bug This is a bug. Something isn't working. label Jun 12, 2024
@celinval
Copy link
Contributor

We should only do that if -Z c-ffi is enabled though.

@celinval celinval added [C] Feature / Enhancement A new feature request or enhancement to an existing feature. and removed [C] Bug This is a bug. Something isn't working. labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Feature / Enhancement A new feature request or enhancement to an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants