Skip to content

Commit

Permalink
chore: stop building/publishing acvm_backend.wasm (#6584)
Browse files Browse the repository at this point in the history
Noir no longer makes use of this wasm binary so we don't need to keep
building/publishing it.

Resolves AztecProtocol/aztec-packages#1832
  • Loading branch information
TomAFrench authored and AztecBot committed May 30, 2024
1 parent 2427baa commit cc2a34b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion cpp/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@
"jobs": 0,
"targets": [
"barretenberg.wasm",
"acvm_backend.wasm",
"barretenberg",
"wasi",
"env"
Expand Down
20 changes: 0 additions & 20 deletions cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,30 +182,10 @@ if(WASM)
$<TARGET_OBJECTS:wasi_objects>
)

add_executable(
acvm_backend.wasm
$<TARGET_OBJECTS:wasi_objects>
$<TARGET_OBJECTS:env_objects>
$<TARGET_OBJECTS:common_objects>
$<TARGET_OBJECTS:numeric_objects>
$<TARGET_OBJECTS:ecc_objects>
$<TARGET_OBJECTS:crypto_aes128_objects>
$<TARGET_OBJECTS:crypto_blake2s_objects>
$<TARGET_OBJECTS:crypto_keccak_objects>
$<TARGET_OBJECTS:crypto_schnorr_objects>
$<TARGET_OBJECTS:crypto_pedersen_hash_objects>
$<TARGET_OBJECTS:crypto_pedersen_commitment_objects>
)

target_link_options(
barretenberg.wasm
PRIVATE
-nostartfiles -Wl,--no-entry,--export-dynamic
)

target_link_options(
acvm_backend.wasm
PRIVATE
-nostartfiles -Wl,--no-entry,--export-dynamic
)
endif()

0 comments on commit cc2a34b

Please sign in to comment.