YAMAMOTO Yuji
YAMAMOTO Yuji
I found the `--out-dir` option is very useful for me to copy `.so` files built for Android to `app/src/main/jniLibs/`. `--target-dir` emits too many unnecessary things, and I have to resolve...
use https://github.com/igrep/predef
Recently released https://rubygems.org/gems/rspec-crispy . Repos: https://github.com/igrep/rspec-crispy But I should test more on my production code before closing this issue.
> What colours are in your ~/.Xresources? ``` ! https://gist.github.com/w0ng/3278077 ! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night: ! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim ! vim: ft=xdefaults *background: #1D1F21 *foreground: #C5C8C6 ! black...
> Is the regular vim theme working? Yes. In koehler:  > The vimdifff screenshot in the original theme isn't using hybrid Yes I do. Same diff in hybrid: 
Have you enabled logging with [`android_logger`](https://docs.rs/android_logger/0.8.6/android_logger/) and hook on panic? That will show the error in details. Here are the related codes in my app: - https://github.com/iij-ii/wasmonandroid/blob/495d3446c0f99d801493e878f791b6c39add9970/cargo/src/lib.rs#L103-L125 - https://github.com/iij-ii/wasmonandroid/blob/495d3446c0f99d801493e878f791b6c39add9970/android/app/src/main/java/jp/co/iijii/wasmonandroid/LogInit.kt -...
You can throw the exception from Rust code by `JNIEnv::throw`. And I made [this patch to use it](https://github.com/igrep/wasmer_android_jnicall_repro/commit/fec583d4c3d3797ab47c5d0d06c3042add0a7f87) to see the exception because I'm also very interested in this issue!...
As written in https://github.com/iij-ii/wasmonandroid/issues/1, I thought this was because my code consumes stack too much until getting this issue. Now I suspect this is a problem of wasmer. @MarkMcCaskey Any...
Sorry, this can be a known issue of Android, according to https://stackoverflow.com/questions/27223005/unable-to-make-jni-call-from-c-to-java-in-android-lollipop-using-jni and https://issuetracker.google.com/issues/37035211.
Progress report of debugging: To show log while running wasmer, I switched the logger to write on the application data: https://github.com/igrep/wasmer_android_jnicall_repro/commit/6387f88f57a3e1b61516a302931ace71d8fef5ad Now, we can see the log written by libwasmer_android.so...