Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul007-bit authored Mar 1, 2024
1 parent 938cbeb commit 279ea84
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions JS/wasm/types/jsonnet/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@ CARGO_PROFILE_RELEASE_OPT_LEVEL="z" wasm-pack build "--$WASM_BUILD_PROFILE" --ta

mv "pkg/" $OUT_FOLDER

WASM_OPT_ARGS=(
"-Os" # execute size-focused optimization passes
"--vacuum" # removes obviously unneeded code
"--duplicate-function-elimination" # removes duplicate functions
"--duplicate-import-elimination" # removes duplicate imports
"--remove-unused-module-elements" # removes unused module elements
"--dae-optimizing" # removes arguments to calls in an lto-like manner
"--remove-unused-names" # removes names from location that are never branched to
"--rse" # removes redundant local.sets
"--gsi" # global struct inference, to optimize constant values
"--gufa-optimizing" # optimize the entire program using type monomorphization
"--strip-dwarf" # removes DWARF debug information
"--strip-producers" # removes the "producers" section
"--strip-target-features" # removes the "target_features" section
)
sleep 1

enable_cf_in_bindings() {
Expand Down

0 comments on commit 279ea84

Please sign in to comment.