Skip to content

[zk-sdk] Remove cdylib#81

Merged
samkim-crypto merged 2 commits into
solana-program:mainfrom
samkim-crypto:remove-cdylib-zk-sdk
Sep 25, 2025
Merged

[zk-sdk] Remove cdylib#81
samkim-crypto merged 2 commits into
solana-program:mainfrom
samkim-crypto:remove-cdylib-zk-sdk

Conversation

@samkim-crypto
Copy link
Copy Markdown
Contributor

@samkim-crypto samkim-crypto commented Sep 24, 2025

Problem

If a crate has both cdylib declared as crate types, then we can't apply some link-time optimizations. Until recently, the zk-sdk had cdylib, which is required for wasm-bindgen. Now that the dependency on wasm-bindgen has been removed with #78, we can remove cdylib.

Summary of Changes

Remove cdylib. I also removed the upload artifact script since we won't have .so file any more and non of the other scripts seem to depend on it.

@samkim-crypto samkim-crypto marked this pull request as ready for review September 25, 2025 01:20
@samkim-crypto samkim-crypto merged commit f343cbd into solana-program:main Sep 25, 2025
8 checks passed
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.

2 participants