Skip to content

Release build errors triggered by optimizations #198

@ultrabug

Description

@ultrabug

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions