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

Release build errors triggered by optimizations #198

Open
ultrabug opened this issue Sep 20, 2021 · 0 comments
Open

Release build errors triggered by optimizations #198

ultrabug opened this issue Sep 20, 2021 · 0 comments

Comments

@ultrabug
Copy link

Hi,

I'm trying to find out why I'm getting ConvertToUtf8 and ConvertI64ToUsize deserialization errors when running in release mode while I'm not getting them on debug mode.

For now, I pinned down the fact that if I disable optimizations in the release profile, the errors go away:

[profile.release]
opt-level = 0

Does that ring a bell to anyone?

What can I do to help debug this please?

Thanks

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

No branches or pull requests

1 participant