From 475da72c614ddee250c9542f23e81b6112b0efb8 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 25 Oct 2020 22:13:31 -0700 Subject: 7109 Turns out I've been including some unnecessary files when building apps/mu! Treeshaken stats before: LoC 26258 => 9717 LoC including common libraries: 29736 => 12719 binary size: 406K => 79K After: LoC 26258 => 9717 LoC including common libraries: 28322 => 12370 binary size: 406K => 77K So our treeshaking isn't perfect. No surprise there.. The treeshaken build also starts to fail without the one-liner change to mu.subx, which looks like a bug in the treeshaker. --- test_apps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test_apps') diff --git a/test_apps b/test_apps index bcd61745..fc0d459c 100755 --- a/test_apps +++ b/test_apps @@ -287,7 +287,7 @@ test $NATIVE && { } echo mu -cat init.$OS [0-9]*.subx apps/mu.subx | apps/braces | apps/calls | apps/sigils > a.sigils +cat init.$OS [0-2]*.subx apps/mu.subx | apps/braces | apps/calls | apps/sigils > a.sigils ./bootstrap translate a.sigils -o apps/mu test "$1" = 'record' || git diff --exit-code apps/mu test $EMULATED && { @@ -338,7 +338,7 @@ done # Mu translator echo mu -./translate_subx init.$OS [0-9]*.subx apps/mu.subx +./translate_subx init.$OS [0-2]*.subx apps/mu.subx diff apps/mu a.elf # Mu programs -- cgit 1.4.1-2-gfad0 g/src/LYGCurses.h'>log blame commit diff stats
path: root/src/LYGCurses.h
blob: bdb1e5ef4ebe2767ed93a692ab58ef762de81ed3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10