Replies: 2 comments 6 replies
-
Ah! I actually develop Perseus on my tablet occasionally and I have encountered so many bugs with it! Make sure you've got the wasm Rust package (I think it's If you've already got that package, then maybe try v0.4.x (wasm-pack sounds like v0.3.x)? Also make sure you have the latest Rust package on your device. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Can I use QEMU to emulate x86 to compile Rust to wasm? The mobile phone only ships with ARM CPU, will QEMU help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Termux is a terminal emulator for Android, my CPU architecture is ARM64. Both "perseus build" and "cargo build" failed, and have the same error:
error: expected identifier or integer
--> /home/alarm/hello/src/lib.rs:9:21
|
9 | p { "Hello World!" }
While using "wasm-pack build", it got many errors, for example:
error[E0514]: found crate
core
compiled by an incompatible version of rustcBeta Was this translation helpful? Give feedback.
All reactions