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

Switch cloudflare_worker/wrangler.toml from type = "rust" to type = "javascript" #68

Open
twifkak opened this issue Sep 21, 2021 · 0 comments
Milestone

Comments

@twifkak
Copy link
Collaborator

twifkak commented Sep 21, 2021

Introducing a dependency on some of the functions in encoding_rs causes a segfault in wasm-opt before version 102. However, wrangler projects with type = "rust" depend on wasm-pack 0.10.0 and wasm-pack 0.10.0 depends on wasm-opt 78.

Rather than waiting for both of these dependencies to update in sequence, we should consider switching to type = "javascript". Either:

I learn towards the first. It seems easier and less risk, and doesn't preclude the doing second one later.

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

No branches or pull requests

1 participant