Skip to content

dist builds without unwinding; dist-unwind keeps it - #1

Draft
wieslawsoltes wants to merge 1 commit into
mainfrom
dist-abort
Draft

wieslawsoltes wants to merge 1 commit into
mainfrom
dist-abort

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Contributor

The dist profile of the app, app-codebehind, declarative and rsx templates gains panic = "abort", as in FerroUI 0.5 (wieslawsoltes/FerroUI#567, wieslawsoltes/FerroUI#595). A new dist-unwind profile keeps unwinding for an application that catches panics. The cross-platform template's profiles are written by FerroUI's scripts/apps/sync-workspace.py and follow the framework's Cargo.toml.

Hello world's executable is about 21 % smaller without unwinding (45.28 MB to 35.71 MB on macOS ARM64).

Draft: this lands with the update of the templates to FerroUI 0.5.0. Those versions are the first in which no production path carries an expected error as a panic. The templates still pin 0.4.0.

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.

1 participant