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

Fix compilation when vietnamese feature is disabled #259

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

timvisee
Copy link
Contributor

Pull Request

Related issue

Fixes #258

What does this PR do?

  • Fixes compilation without vietnamese feature
  • Puts related import behind conditional feature attribute

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

Copy link
Member

@irevoire irevoire left a comment

Choose a reason for hiding this comment

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

Hey, that's awesome, thanks!
We didn't realize it was broken 😅

bors merge

Copy link
Contributor

meili-bors bot commented Jan 30, 2024

Build succeeded:

  • tests

@meili-bors meili-bors bot merged commit ecd5e99 into meilisearch:main Jan 30, 2024
4 checks passed
@timvisee
Copy link
Contributor Author

Hey, that's awesome, thanks!
We didn't realize it was broken 😅

No problem. Thank you for quickly approving and merging.

This can be mitigated in the future by testing without default features on CI.

meili-bors bot added a commit that referenced this pull request Jan 30, 2024
261: Fix unused FstSegmenter warning when not using khmer compiler features r=irevoire a=timvisee

# Pull Request

## Related issue
Fixes <#260>
Depends on <#259>

## What does this PR do?
- Fixes compilation warnings without `thai` or `khmer` features
- Puts related module behind conditional feature attribute

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: timvisee <[email protected]>
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.

Compiler failure without vietnamese feature
2 participants