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

Remove the implementation of wasi-crypto #6816

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Aug 7, 2023

This commit is a follow-up to the discussion on #6732. This removes Wasmtime's implementation of the wasi-crypto proposal from in-tree along with its various support in CI, configuration, etc. See the discussion on #6732 for the full information but at a high level the main reasons for removing the implementation at this time are:

  • There is not currently an active maintainer of the Wasmtime integration here for wasi-crypto.
  • There are known issues with the code quality of the implementation such as transmutes of guest-owned memory to &'static mut [u8] and known unsafety in dependencies.
  • The size and breadth of the dependency tree brings maintenance burden and overhead to managing Wasmtime's dependency tree.

As mentioned on the issue this commit does not mean that Wasmtime doesn't want to implement the wasi-crypto proposal. Instead the "tier 3" status of wasi-crypto needs to be re-attained to be included back in-tree, which would mean resolving the above issues.

Note that this commit is intentionally just after the 13.0.0 branch point which means that this is slated for Wasmtime 14 to be released on September 20.

Closes #6732

This commit is a follow-up to the discussion on bytecodealliance#6732. This removes
Wasmtime's implementation of the wasi-crypto proposal from in-tree along
with its various support in CI, configuration, etc. See the discussion
on bytecodealliance#6732 for the full information but at a high level the main reasons
for removing the implementation at this time are:

* There is not currently an active maintainer of the Wasmtime
  integration here for wasi-crypto.
* There are known issues with the code quality of the implementation
  such as transmutes of guest-owned memory to `&'static mut [u8]` and
  known unsafety in dependencies.
* The size and breadth of the dependency tree brings maintenance burden
  and overhead to managing Wasmtime's dependency tree.

As mentioned on the issue this commit does not mean that Wasmtime
doesn't want to implement the wasi-crypto proposal. Instead the "tier 3"
status of wasi-crypto needs to be re-attained to be included back
in-tree, which would mean resolving the above issues.

Note that this commit is intentionally just after the 13.0.0 branch
point which means that this is slated for Wasmtime 14 to be released on
September 20.
@alexcrichton alexcrichton requested review from a team as code owners August 7, 2023 17:47
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team August 7, 2023 17:47
@github-actions github-actions bot added the wasmtime:docs Issues related to Wasmtime's documentation label Aug 7, 2023
src/commands/run.rs Outdated Show resolved Hide resolved
@alexcrichton alexcrichton added this pull request to the merge queue Aug 8, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 8, 2023
@alexcrichton alexcrichton added this pull request to the merge queue Aug 8, 2023
Merged via the queue into bytecodealliance:main with commit 2897e40 Aug 8, 2023
18 checks passed
@alexcrichton alexcrichton deleted the remove-wasi-crypto branch August 8, 2023 16:41
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Aug 18, 2023
* Remove the implementation of wasi-crypto

This commit is a follow-up to the discussion on bytecodealliance#6732. This removes
Wasmtime's implementation of the wasi-crypto proposal from in-tree along
with its various support in CI, configuration, etc. See the discussion
on bytecodealliance#6732 for the full information but at a high level the main reasons
for removing the implementation at this time are:

* There is not currently an active maintainer of the Wasmtime
  integration here for wasi-crypto.
* There are known issues with the code quality of the implementation
  such as transmutes of guest-owned memory to `&'static mut [u8]` and
  known unsafety in dependencies.
* The size and breadth of the dependency tree brings maintenance burden
  and overhead to managing Wasmtime's dependency tree.

As mentioned on the issue this commit does not mean that Wasmtime
doesn't want to implement the wasi-crypto proposal. Instead the "tier 3"
status of wasi-crypto needs to be re-attained to be included back
in-tree, which would mean resolving the above issues.

Note that this commit is intentionally just after the 13.0.0 branch
point which means that this is slated for Wasmtime 14 to be released on
September 20.

* Remove some cfgs

* Remove wasi-crypto CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:docs Issues related to Wasmtime's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should wasi-crypto be removed from in-tree?
3 participants