Skip to content

Add missing printDebug wasm runtime function#91

Open
martyall wants to merge 1 commit into
arkworks-rs:masterfrom
l-adic:circom-2.2
Open

Add missing printDebug wasm runtime function#91
martyall wants to merge 1 commit into
arkworks-rs:masterfrom
l-adic:circom-2.2

Conversation

@martyall

@martyall martyall commented Sep 16, 2025

Copy link
Copy Markdown
Contributor

I guess this function is now required by the circom runtime as of version 2.2. I discovered this when trying to run and received the following error:

thread 'main' panicked at /home/martyall/.cargo/git/checkouts/circom-compat-f8dd94f015257c55/09e92d4/src/circom/builder.rs:31:61:
called `Result::unwrap()` on an `Err` value: Error while importing "runtime"."printDebug": unknown import. Expected Function(FunctionType { params: [I32], results: [] })

fixes ##78

@martyall martyall changed the title Add missing printDebug runtime function Add missing printDebug wasm runtime function Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant