Add feature to track allocations in libtock-rs and print statistics to the console.
This commit is contained in:
@@ -366,6 +366,14 @@ if __name__ == '__main__':
|
||||
"output messages before starting blinking the LEDs on the "
|
||||
"board."),
|
||||
)
|
||||
app_commands.add_argument(
|
||||
"--debug-allocations",
|
||||
action="append_const",
|
||||
const="debug_allocations",
|
||||
dest="features",
|
||||
help=("The console will be used to output allocator statistics every "
|
||||
"yime an allocation/deallocation happens."),
|
||||
)
|
||||
app_commands.add_argument(
|
||||
"--no-u2f",
|
||||
action=RemoveConstAction,
|
||||
|
||||
Reference in New Issue
Block a user