Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit afca803d authored by Howard Chung's avatar Howard Chung Committed by Yun-hao Chung
Browse files

Floss: Print log when rust panic

This imports log_panics to print log when panic! is reached.
An example of the log is:
thread 'main' panicked at 'xxx': system/gd/rust/linux/stack/src/
bluetooth_admin.rs:118

Bug: 295133385
Test: mma -j32
Test: locally modify the code to trigger panic and verify the log is in
/var/log/bluetooth.log
Tag: #floss

Change-Id: I217ccd30542c5e429abfcd58626a251307353049
parent 818bd8ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment