R
Railway7mo ago
beckham

Rust WASM Parcel Plugin not building properly

I have a Node.JS webserver setup with a Parcel plugin for building and serving WASM. However once deployed to Railway I recieve many errors like these. Is there a simple solution for this?
note: the `wasm32-unknown-unknown` target may not be installed

= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`

error[E0463]: can't find crate for `core`

--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fiat-crypto-0.2.2/src/curve25519_64.rs:48:6

|

48 | impl core::ops::Index<usize> for fiat_25519_tight_field_element {

| ^^^^ can't find crate

|

= note: the `wasm32-unknown-unknown` target may not be installed

= help: consider downloading the target with `rustup target add wasm32-unknown-unknown
note: the `wasm32-unknown-unknown` target may not be installed

= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`

error[E0463]: can't find crate for `core`

--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fiat-crypto-0.2.2/src/curve25519_64.rs:48:6

|

48 | impl core::ops::Index<usize> for fiat_25519_tight_field_element {

| ^^^^ can't find crate

|

= note: the `wasm32-unknown-unknown` target may not be installed

= help: consider downloading the target with `rustup target add wasm32-unknown-unknown
`
1 Reply
Percy
Percy7mo ago
Project ID: 7998df7d-e574-487d-b9a6-7a6e606e5b19