-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
I have an android application that crashes inside slice::from_raw_parts . I altered my app to set RUST_BACKTRACE=1, but this still did not give me a stack trace. The next idea I had was to use the wrap.sh mechanism documented at https://developer.android.com/ndk/guides/wrap-script to set RUST_BACKTRACE=1 before it starts.
Unfortunately, I am struggling to figure out what to put in my Cargo.toml to include a custom wrap.sh into the apk generated by cargo apk build
It would be helpful if the documentation included an example of how to include a wrap.sh in the .apk.
Until then, I am struggling to figure out what steps cargo apk is taking to build the .apk in hopes of running those steps manually to include wrap.sh.
Metadata
Metadata
Assignees
Labels
No labels