coolbluewater

Results 20 comments of coolbluewater

> I'm not sure how to actually run/test this. Do I need to build the stdlib for the macabi targets? Ah, yes. ``` cargo build -Z build-std=panic_abort,std --target x86_64-apple-ios-macabi ```...

Hi @paxbun, I also would like to pass JNI objects from Kotlin to Rust. Do you have a fork of uniffi that implements this?

@fredszaq very cool! Currently I hand-author a Kotlin bridge class, e.g.: ```kotlin package com.foo.bar import android.view.Surface class RustBridge { init { System.loadLibrary("mylibrary") } external fun enterFrame(rustObj: Long) } ``` and...

@fredszaq thanks for your response! I need the JNIEnv and also need to pass `jobject`s from Kotlin to Rust. Is this possible in some way?

@madsmtm it looks like #3683 supersedes #3609. Additionally all checks have passed for #3683, so that needs to be merged asap.

Hi, I'm having the same issue. I don't understand this command line: `LLVM_CONFIG_PATH=$(shell brew --prefix llvm)/bin/llvm-configcargo bundle --example uikit --target x86_64-apple-ios.` Please explain how to include uikit-sys from an existing...

Thanks, makes sense. 1) I assume you mean `cargo-bundle` and not `make`? 2) The error output lists the locations it looks for the .dylib, and the `lib` folder in the...

> I'm open to a PR if you wanna add that case. I actually don't know much about the macabi targets. I Assume this would be the macOS version of...

@tommilligan, I don't need any wrapping myself, just breaking on newlines is fine. That's also what text editors do by default for raw rust string literals.

Thanks! 1. I mean, do all widgets *have* to be drawn by Ribir, or is there a way of using, e.g. native buttons (such as NSButton on macOS)? 2. The...