Open Prashant4900 opened 1 day ago
Hi! Thanks for opening your first issue here! :smile:
Hi, I guess this is more related to tectonic. Maybe ask there whether they support android/ios. (My guess is that, if they require some latex binaries that only exist on desktop, then it is hard to have one on mobile; but I can be totally wrong!)
Hi, I guess this is more related to tectonic. Maybe ask there whether they support android/ios. (My guess is that, if they require some latex binaries that only exist on desktop, then it is hard to have one on mobile; but I can be totally wrong!)
That might be possible I just thought their might be one possiblity that rust bridge might not able to compile latex complier probably, BTW Thanks.
You are welcome. flutter_rust_bridge does not handle the compilation. Instead frb uses Cargokit for that, and cargokit executes normal Rust compiler. Therefore, if a normal rust compiler compiles well, then it should work.
Describe the bug
Hey I'm trying to integrate LaTex Compiler in my flutter application natively with the helps of tectonic. I wrote all rust code and it's working properly [Rust Only] without any issue and flutter_rust_bridge_codegen generate code also generate without giving any error.
But the problem is that if build my projects for MacOS it's build perfectly but for Mobile (Android, iOS) it's throw error during build.
The Issue is that tectonic carry as LaTex Complier which helps to convert tex file into PDF and that the same functionality in my app. But I'm not sure wether this complier is compatible with mobile devices since their the no build error during Mac Build or their is some internal issue which i'm not sure.
Steps to reproduce
Steps to reproduce
Create New Flutter Projects
Integrate Flutter Rust Bridge with Flutter project
Add Tectonic dependencies in Rust
[lib] crate-type = ["cdylib", "staticlib"]
[dependencies] flutter_rust_bridge = "=2.5.1" tectonic = { git = "https://github.com/tectonic-typesetting/tectonic.git", branch = "master" }
Logs
Expected behavior
No response
Generated binding code
No response
OS
MacOS
Version of
flutter_rust_bridge_codegen
2.5.1
Flutter info
Version of
clang++
16
Additional context
No response