Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(primitives): reduce cid feature set #700

Merged
merged 1 commit into from
Jan 23, 2025
Merged

fix(primitives): reduce cid feature set #700

merged 1 commit into from
Jan 23, 2025

Conversation

jmg-duarte
Copy link
Contributor

Description

WASM compilation of primitives was broken because we didn't depent on alloc. This was not noticeable anywhere else because of cargo's feature unification, when building the pallets, we depended directly on cid with the alloc feature, as such, when primitives was built, it already had the alloc feature.

You can double check this by running the following command, before and after the change:

cargo b --no-default-features --target wasm32-unknown-unknown

WASM compilation of primitives was broken because we didn't depent on alloc.
This was not noticeable anywhere else because of cargo's feature unification,
when building the pallets, we depended directly on cid with the alloc feature,
as such, when primitives was built, it already had the alloc feature.
@jmg-duarte jmg-duarte added the bug Something isn't working label Jan 23, 2025
@jmg-duarte jmg-duarte added this to the Phase 3 milestone Jan 23, 2025
@jmg-duarte jmg-duarte requested review from cernicc and th7nder January 23, 2025 15:07
@jmg-duarte jmg-duarte self-assigned this Jan 23, 2025
@jmg-duarte jmg-duarte added the ready for review Review is needed label Jan 23, 2025
@jmg-duarte jmg-duarte enabled auto-merge (squash) January 23, 2025 15:10
@jmg-duarte jmg-duarte merged commit 0df8057 into develop Jan 23, 2025
10 checks passed
@jmg-duarte jmg-duarte deleted the fix/cid branch January 23, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for review Review is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants