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

Cannot compile serde_json to Web Assembly with target-feature=+multivalue #1052

Closed
eastside opened this issue Aug 8, 2023 · 1 comment
Closed

Comments

@eastside
Copy link

eastside commented Aug 8, 2023

The issue is that if you use serde_json and you're trying to compile to Web Assembly with multi-value returns turned on, a strange compilation error results.

I've made a minimum reproducible here which includes a complete description of the error.

Here's a rust-lang/rust thread on multivalue support that may prove useful. I'm not entirely sure if this is an issue more for Rust core, or if it's a serde_json issue (or a little of both?).

@dtolnay
Copy link
Member

dtolnay commented Aug 8, 2023

I don't know much about WebAssembly, but I am skeptical that this is a serde_json issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants