Hi there! I've tried to use your crate to apply the VarArgs list to it's associated format pattern, sadly it crashes with the runtime error:
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled
I'm coding for an ESP32 embedded system, and I acquire the pattern + VarArgs by passing a function pointer to my code into esp_idf_sys::esp_log_set_vprintf(Some(esp_log_processor)).
The VarArgs are are passed with type [u32; 3usize] which im transforming like this to be able to use your library:
let args: VaList = core::mem::transmute(&args);
Maybe the underlying issue is related to esp-rs/rust#177
See also:
esp-rs/esp-idf-sys#212 &
https://users.rust-lang.org/t/esp-idf-logger-redirection-vprintf-variadic-function/95568
Can you help me? Thanks!
Hi there! I've tried to use your crate to apply the VarArgs list to it's associated format pattern, sadly it crashes with the runtime error:
I'm coding for an ESP32 embedded system, and I acquire the pattern + VarArgs by passing a function pointer to my code into
esp_idf_sys::esp_log_set_vprintf(Some(esp_log_processor)).The VarArgs are are passed with type
[u32; 3usize]which im transforming like this to be able to use your library:Maybe the underlying issue is related to esp-rs/rust#177
See also:
esp-rs/esp-idf-sys#212 &
https://users.rust-lang.org/t/esp-idf-logger-redirection-vprintf-variadic-function/95568
Can you help me? Thanks!