lupyuen commented on PR #2487:
URL: https://github.com/apache/nuttx-apps/pull/2487#issuecomment-2601165388

   Hi @no1wudi: I'm writing an article to introduce Rust Std Library on NuttX. 
Today `rv-virt:nsh` works fine, would you be supporting `nsh64` and `knsh64`?
   
   `rv-virt:nsh64` crashes with a Load Access Fault:
   
https://gist.github.com/lupyuen/fba254be9ef64d3856c52e1a14a1b9ec#file-gistfile1-txt-L476
   ```text
   nsh> hello_rust_cargo
   {"name":"John","age":30}
   {"name":"Jane","age":25}
   Deserialized: Alice is 28 years old
   Pretty JSON:
   {
     "name": "Alice",
     "age": 28
   }
   �riscv_exception: EXCEPTION: Load access fault. MCAUSE: 0000000000000005, 
EPC: 0000000080013cc4, MTVAL: 0000000010000008
   ```
   
   `rv-virt:knsh64` fails at `make import` with Missing Target. Thanks :-)
   
https://gist.github.com/lupyuen/cc4ec45a9d1342a1b367d792284e65fe#file-gistfile1-txt-L178
   ```text
   $ make -j import
   cargo build --release -Zbuild-std=std,panic_abort --manifest-path 
/home/luppy/rust/apps/examples/rust/hello/Cargo.toml --target 
   error: "--target" takes a target architecture as an argument.
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to