Andreas Monitzer

Results 112 comments of Andreas Monitzer

I just tried generating that header file using the `-c` flag, but it doesn't contain `frb_get_rust_content_hash`, so that can't be it?

Well, that's why I'm asking for a command to dump that list. It would remove the need to generate and parse C code, download the pre-generated header files from the...

The ones in the generated header file mostly start with `frbgen_`, but there's also `store_dart_post_cobject` and there are a few `dart_` functions like `dart_opaque_rust2dart_decode` that are also looked up.

Would it be possible to funnel all symbol lookups through a custom Rust function instead of dart:ffi's [`lookup`](https://api.dart.dev/stable/3.5.4/dart-ffi/DynamicLibrary/lookup.html), which then is generated in frb_generated.rs to handle all symbols needed? That...

I’ve turned that off. A simple grep on symbols is easy on Linux, but my code also has to run on Windows, and there’s it’s much more complicated.

Ok, so I tried generating the C header as the first step, but this doesn't work in the first place, making that approach not useful. I think I should create...

Besides #2368, the other issue I have is just a cyclical type ([ticket here](/mozilla/cbindgen/issues/43)), which shouldn't matter for this.

`RustAutoOpaque` is within the module that shouldn't be used by regular code though?