Skip to content

Commit

Permalink
[Misc]: Push test 22
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Mar 7, 2024
1 parent c1db6cc commit 8bf7fca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/release-size
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ RUST_TARGETS = [
LIB_NAME = "libwallet_core_rs.a"


def display_size(size_kb: int) -> str:
if size_kb >= 10000:
size_mb = float(size_kb) / 1024
return f'{size_mb:+.2f} MB'
else:
return f'{size_kb} KB'


def measure_rust(_args):
result = {}

Expand Down

0 comments on commit 8bf7fca

Please sign in to comment.