rust – error[E0463]: can’t find crate for `core` | = note: the `wasm32-unknown-unknown` target may not be installed [NEAR Protocol]

If you’ve run into this issue while building a rust application

error[E0463]: can't find crate for core| = note: the "wasm32-unknown-unknown" target may not be installed

To solve this error run

rustup target add wasm32-unknown-unknown

in the file and that should correct the issue