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

Avoid rewriting the preconfigured tag #87

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

dextero
Copy link

@dextero dextero commented Mar 5, 2025

Follow up on #83 that I uploaded after the PR was already merged :)

In case we already have a CString tag in Config, do not attempt to rewrite it to a temporary buffer, but use it directly.

@MarijnS95

Marcin Radomski added 2 commits March 5, 2025 10:54
In case we already have a CString tag in Config, do not attempt to
rewrite it to a temporary buffer, but use it directly.
Copy link
Member

@MarijnS95 MarijnS95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's so much nicer and clearer.

- Remove unnecessary type annotation
- Replace c"" with CStr::from_bytes_with_nul for compatibility with
  older Rust versions
@dextero
Copy link
Author

dextero commented Mar 5, 2025

cc @Nercury

@Nercury Nercury merged commit 8b7fe0b into rust-mobile:master Mar 5, 2025
24 checks passed
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.

3 participants