Allow allocations during most panics

The panic logger is allowed to allocate now. If a panic message uses
string formatting then that may still trigger `assert_no_alloc`.
This commit is contained in:
Robbert van der Helm
2022-06-26 23:13:35 +02:00
parent fb0c1acbed
commit 4b2435a791
3 changed files with 47 additions and 13 deletions

View File

@@ -64,13 +64,13 @@ nih_plug_derive = { path = "nih_plug_derive" }
atomic_float = "0.1"
atomic_refcell = "0.1"
backtrace = "0.3.65"
bitflags = "1.3"
cfg-if = "1.0"
clap-sys = "0.1"
crossbeam = "0.8"
lazy_static = "1.4"
log = { version = "0.4", features = ["std", "release_max_level_info"] }
log-panics = { version = "2.0", features = ["with-backtrace"] }
midi-consts = "0.1"
parking_lot = "0.12"
raw-window-handle = "0.4"