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: compatible_engineにsafety requirementとアサートを入れる #869

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Nov 7, 2024

内容

compatible_engineに、VOICEVOX ENGINEが守る必要がある事前条件を書く。

また、ENGINEから渡されるポインタがアラインメントに沿っているかのアサートを入れる。
(mis-alignedなデータが渡されるとENGINEごと即死するようになるが、どっちにしろ現状のcompatible_engineの実装ではmisalignedであってはならないため)

関連 Issue

その他

@qryxip qryxip requested a review from Hiroshiba November 7, 2024 12:09
@qryxip qryxip changed the title feat!: compatible_engineにsafety requirementとアサートを入れる fix: compatible_engineにsafety requirementとアサートを入れる Nov 7, 2024
@qryxip qryxip force-pushed the feat-add-safety-requirements-and-asserts-to-compatible-engine branch from 147b0fc to 601acd9 Compare November 7, 2024 12:15
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

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

LGtM!!!

@qryxip qryxip merged commit 1222335 into VOICEVOX:main Nov 7, 2024
29 checks passed
@qryxip qryxip deleted the feat-add-safety-requirements-and-asserts-to-compatible-engine branch November 7, 2024 13:05
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