-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
app crashes if build with --release #310
Comments
I noticed the same issue with code that was working on a previous rustc version. I cross-compile from Ubuntu to the x86_64-pc-windows-gnu target. After some investigation, I found some suspicious
|
I tried using the pull request #308 and the crash stoped. to do so you have to put in your Cargo.toml the dependence: its only in the 1.0.12 version (main its 1.0.13) but works with optimizations. |
Hi, I'm the author of #308. Since I'm using this library in my app, I've made a fork of this repo with the "transmute fix" applied. Just wanted to clarify how the fork works:
I had to make a fix for |
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
The text was updated successfully, but these errors were encountered: