Skip to content

Add exception safety to Rust code #1598

@matejcik

Description

@matejcik

Currently Rust bindings calling Micropython functions do not install exception handlers. An exception raised by Micropython will skip and throw away the Rust context, which might lead to incorrectness in certain cases.

Metadata

Metadata

Assignees

Labels

codeCode improvementscoreTrezor Core firmware. Runs on Trezor Model T and Safe models.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions