Skip to content

app crashes if build with --release #310

@dumdrak

Description

@dumdrak

Hi,

When I use Tab and TabsContainer my app works in debug but crashes in release mode with the error
(exit code: 0xc000001d, STATUS_ILLEGAL_INSTRUCTION)

putting

[profile.release]
opt-level = 0

in cargo.toml makes the app work again in --release but its not optimized

any idea what I'm doing wrong?

the code that makes this happen is

<-- window, layout, file dialogs
//tabs
#[nwg_control()]
#[nwg_layout_item(layout: grid, row: 0, col: 0, col_span: 5, row_span: 9)]
tabs_container: nwg::TabsContainer,
//tab proveedors
#[nwg_control(text: "Proveedors",parent: tabs_container)]
tab_proveedors: nwg::Tab,
-->more controls

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