Skip to content

Conversation

@webmaster128
Copy link
Member

Follow-up to #2467 and work towards #1962: Movin all imports and exports into a newly created exports folder we get increased visibility of the dependencies. Those work as follows.

graph

This PR is a no-op, but after it we can cut out this entire tree for builds that target wasm32-unknown-unknown but not the main contract build by wrapping the contents of src/exports/mod.rs in a macro you need to expand in a contract's lib.rs.

@webmaster128 webmaster128 requested a review from chipshort May 6, 2025 10:48
@webmaster128
Copy link
Member Author

Okay I don't know if that works at the end of the day. Will try some more things based on that solution first.

@webmaster128 webmaster128 marked this pull request as ready for review May 7, 2025 08:16
@webmaster128 webmaster128 merged commit 7f63657 into main May 8, 2025
33 checks passed
@webmaster128 webmaster128 deleted the group-exports branch May 8, 2025 08:20
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