Skip to content

Commit

Permalink
Remove support for character encoding other then UTF-8 and bracket.
Browse files Browse the repository at this point in the history
It makes executables 6kB smaller.
  • Loading branch information
godunko committed Jan 4, 2022
1 parent 450cf5f commit 0b61ea1
Show file tree
Hide file tree
Showing 5 changed files with 803 additions and 6 deletions.
10 changes: 4 additions & 6 deletions source/rtl/Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,7 @@ s-valuns.adb \
s-valuns.ads \
s-valuti.adb \
s-valuti.ads \
s-wchcnv.adb \
s-wchcnv.ads \
s-wchcon.adb \
s-wchcon.ads \
s-wchjis.adb \
s-wchjis.ads \
s-wchstw.adb \
s-wchstw.ads \
s-wchwts.adb \
s-wchwts.ads \
Expand Down Expand Up @@ -283,6 +277,10 @@ wasm: build
cp -p $(AWP_SRC)/rtl/s-soflin__wasm.adb $(WASMINCLUDE)/s-soflin.adb
cp -p $(AWP_SRC)/rtl/s-soflin__wasm.ads $(WASMINCLUDE)/s-soflin.ads
cp -p $(AWP_SRC)/rtl/s-stposu__wasm.adb $(WASMINCLUDE)/s-stposu.adb
cp -p $(AWP_SRC)/rtl/s-wchcon__wasm.ads $(WASMINCLUDE)/s-wchcon.ads
cp -p $(AWP_SRC)/rtl/s-wchcon__wasm.adb $(WASMINCLUDE)/s-wchcon.adb
cp -p $(AWP_SRC)/rtl/s-wchcnv__wasm.adb $(WASMINCLUDE)/s-wchcnv.adb
cp -p $(AWP_SRC)/rtl/s-wchstw__wasm.adb $(WASMINCLUDE)/s-wchstw.adb
# cp -p $(RTS_SRC)/zfp/s-sssita.ad[sb] $(WASMINCLUDE)/
cp -p $(GNAT_SRC)/libgnat/s-flocon__none.adb $(WASMINCLUDE)/s-flocon.adb
cd $(WASMLIB) && for f in $(COMPILABLE_WASM_SPECS); do \
Expand Down
Loading

0 comments on commit 0b61ea1

Please sign in to comment.