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

Preserve &str's original Rust representation in C++ #645

Merged
merged 1 commit into from
Jan 2, 2021
Merged

Preserve &str's original Rust representation in C++ #645

merged 1 commit into from
Jan 2, 2021

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jan 2, 2021

Part of the work on #608. Once we allow lifetimes in general, including in structs, it will be possible to have structs containing &str where we can no longer rely on the code generator to reconcile the representation between the Rust side and C++ side the way we currently do for strs in function argument and function return position.

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.

None yet

1 participant