Skip to content

WASM support #463

Open
Open
@Byron

Description

@Byron

The ability to compile to --target wasm32-unknown-unknown and wasm32-wasi. Here we track what's needed to make this happen as well as the progress thus far.

Note that this doesn't necessarily mean everything will work there - that's an entirely separate task

Tasks

Crates that need the wasm feature toggle to compile

  • git-diff
  • git-pack

Crates to be fixed

Fixing them might move them up to the list of crates with the wasm feature toggle. Major crates to fix are git-sec and git-tempfile - with these more would probably run right away.

  • git-config
  • git-config-value
  • git-credentials
  • git-discover
  • git-index
  • git-lock
  • git-prompt
  • git-protocol (due to git-sec)
  • git-ref
  • git-sec
  • git-tempfile
  • git-transport (due to `git-sec
  • git-url - home crate should be optional - it doesn't compile
  • gix

Features of git-features that won't compile

And that's OK as wasm32 doesn't need the fastest implementation just yet.

  • zlib-ng
  • zlib-ng-compat
  • zlib-stock

What to target

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueAn issue to track to track the progress of multiple PRs or issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions