getsentry / getsentry/sentry-rust

Wasm support?

Open
#226 17 comments 14 reactions 0 assignees View on GitHub
Core Feature Rust WASM
Dominant language
Rust
Stars
752
Forks
190
Avg merge
1h 21m
Merged PRs (30d)
5

Description

### Maintainer update — August 2026

We know there is significant interest in WASM support. We intend to investigate and implement WASM support ourselves, and hope to begin this work in the coming months, although we do not have a committed timeline.

WASM support will affect several core parts of the SDK, so we first need to establish an approach that we can maintain and support. For that reason, **we are not accepting external implementation PRs for WASM support**. Discussion of use cases and requirements is welcome in this issue.

---

Hi wasm based rust currently fails in all kind of ways.

Especially this often happens when compiling:

```
error[E0599]: no method named `as_sock` found for reference `&udp::UdpBuilder` in the current scope
--> /home/marcel/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.34/src/ext.rs:1558:22
|
1558 | get_opt(self.as_sock(), SOL_SOCKET, SO_ERROR).map(int2err)
| ^^^^^^^ method not found in `&udp::UdpBuilder`
```

Is it possible to get wasm support in the future?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.