Skip to content

refactor(uds): Move WASM feature flagging to root Cargo.toml#3503

Merged
mergify[bot] merged 5 commits into
libp2p:masterfrom
mxinden:uds-longterm-fix
Mar 7, 2023
Merged

refactor(uds): Move WASM feature flagging to root Cargo.toml#3503
mergify[bot] merged 5 commits into
libp2p:masterfrom
mxinden:uds-longterm-fix

Conversation

@mxinden
Copy link
Copy Markdown
Member

@mxinden mxinden commented Feb 24, 2023

Description

Crates that don't compile for WASM are feature flagged in the root Cargo.toml, expcept for libp2p-uds. This commit removes the inconsistency.

As a side-effect, this might help prevent bugs like #3502 going forward.

Notes

Links to any relevant issues

Open Questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

Crates that don't compile for WASM are feature flagged in the root `Cargo.toml`, expcept for
`libp2p-uds`. This commit removes the inconsistency.

As a side-effect, this might help prevent bugs like libp2p#3502
going forward.
@mxinden mxinden mentioned this pull request Feb 24, 2023
4 tasks
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Feb 24, 2023

This pull request has merge conflicts. Could you please resolve them @mxinden? 🙏

@thomaseizinger
Copy link
Copy Markdown
Contributor

Needs new feature gates on the module declaration.

@mxinden
Copy link
Copy Markdown
Member Author

mxinden commented Mar 6, 2023

Needs new feature gates on the module declaration.

Thanks @thomaseizinger. That saved me a bit of debugging!

@mxinden mxinden added the send-it label Mar 6, 2023
@mergify mergify Bot merged commit 2c10cd8 into libp2p:master Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants