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

Use the name of the crate in set_translator! instead of the full module #24

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

rodrigorc
Copy link
Contributor

The macro set_translator! was missing the conversion from module_path to domain.

Most people probably call set_translator! from the main module, so they are the same and nobody noticed. But I'm calling it from a submodule (actually a generated file by build.rs) so the stored translator would never be used.

@ogoffart
Copy link
Member

ogoffart commented Aug 1, 2024

indeed, well spotted.

@ogoffart ogoffart merged commit 994da65 into woboq:master Aug 1, 2024
3 checks passed
@rodrigorc rodrigorc deleted the SetTranslateCrateName branch August 1, 2024 07:11
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.

2 participants