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

Rust: Wrap labels in Cow #534

Merged
merged 1 commit into from Dec 8, 2022
Merged

Rust: Wrap labels in Cow #534

merged 1 commit into from Dec 8, 2022

Conversation

badboy
Copy link
Member

@badboy badboy commented Dec 7, 2022

Based on #533 and work for mozilla/glean#2272.
It would be nice to have that land when we land 2272 as well, but it's not necessary. The old way still works and FOG does its own thing anyway (though it can do it better with this).

This allows us to generate non-generic code to turn strings into the correct type.

Pull Request checklist

  • Quality: This PR builds and tests run cleanly
    • make test runs without emitting any warnings
    • make lint runs without emitting any errors
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry to CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to language binding APIs are noted explicitly

This allows us to generate non-generic code to turn strings into the
correct type.
@badboy badboy merged commit 76a9206 into rust-fix-label-inner Dec 8, 2022
@badboy badboy deleted the cow-labels branch December 8, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants