Has anybody had luck running this on the esp32-c3? It seems possible but I'm not getting very far. The two stumpers I'm getting are this one:
process didn't exit successfully: `C:/temp/idf\debug\build\wasm3-sys-9e0a6fa44c575681\build-script-build` (exit code: 101)
--- stderr
error: unknown target triple 'riscv32imc-esp-espidf', please use -triple or -arch
thread 'main' panicked at 'libclang error; possible causes include:
- Invalid flag syntax
- Unrecognized flags
- Invalid flag arguments
- File I/O errors
- Host vs. target architecture mismatch
If you encounter an error missing from this list, please file an issue or a PR!', C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\bindgen-0.61.0\ir\context.rs:524:13
And this one:
error[E0425]: cannot find value `X_OK` in crate `libc`
--> C:\Users\me\.cargo\registry\src\github.com-1ecc6299db9ec823\clang-sys-1.4.0\src\support.rs:163:51
|
163 | unsafe { Ok(libc::access(path.as_ptr(), libc::X_OK) == 0) }
| ^^^^ not found in `libc`
error: could not compile `clang-sys` due to previous error
Any pointers in the right direction would b greatly appreciated.
Ok the cannot find value X_OK in crate libc was my bad, I forgot to add to the top of my file:
use esp_idf_sys as _;
The other part I still have no idea about, but ive gotten wasmi going no problem so i guess ill just go with that.
Has anybody had luck running this on the esp32-c3? It seems possible but I'm not getting very far. The two stumpers I'm getting are this one:
And this one:
Any pointers in the right direction would b greatly appreciated.