Skip to content

Commit

Permalink
Merge branch 'wasm-v2' of github.com:rahul007-bit/EdgeChains into was…
Browse files Browse the repository at this point in the history
…m-v2
  • Loading branch information
rahul007-bit committed Mar 1, 2024
2 parents 804f4d7 + ab90e18 commit 7ddede4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/webassembly-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
echo "cache-hit=$(test -d ./target && echo true || echo false)" >> $GITHUB_OUTPUT
- name: Build Javy Core
if:
working-directory: .
run: |
make add build-cors
Expand All @@ -77,6 +76,7 @@ jobs:
working-directory: .
run: |
make build-jsonnet
- name: Create out directory
working-directory: .
run: |
Expand Down
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 7ddede4

Please sign in to comment.