Comments (3)
Hi,
what do you mean by ios missing from native_toolchain_rust
? The iOS support should be all there. Cargokit is basically a hack that was necessary before native assets, and I plan to retire it as soon as possible because it's essentially holds together with duck tape. native_toolchain_rust
is the way to go. Though it currently needs flutter main and an experimental flag.
One thing cargokit has that native_toolchain_rust
doesn't is support for precompiled binaries, but long term I'd prefer to rely on native_doctor to setup user environment instead of shipping binary blobs.
from cargokit.
Interesting!
The iOS support should be all there.
Then obviously I was wrong :). The thing that made me jump to that conclusion is the presence of https://github.com/irondash/cargokit/blob/main/build_tool/lib/src/build_pod.dart in cargokit. But as said, my experience with building for iOS is extremely limited.
One thing cargokit has that native_toolchain_rust doesn't is support for precompiled binaries
What do you mean by this? Now I'm confused; I thought the whole point was to compile the binaries 'here' to begin with?
Is flutter main needed only for building the package? or also for consuming?
I will post any further questions on the native_toolchain_rust
repo instead.
from cargokit.
After reading the proposal for native_assets again, I realize I had it all wrong, apparently. My goal of bundling the shared library with the package seems really not what that is all intended for?
If so, I guess I need to go about it in another way: build the native bits with cargokit, place them somewhere so that they get picked up by pub publish, and then use native_assets_cli to hand them over to the app that is being built. Does that sound about right?
from cargokit.
Related Issues (20)
- Can Rust breakpoints work when linked to the Flutter app? HOT 2
- Build fails if esp rustup toolchains (rust for ESP32) is installed HOT 1
- Rust compiler errors hidden in `flutter run` HOT 1
- Missing debug symbols for Android HOT 2
- Add config option to disable certain target architectures HOT 3
- Cargokit error in MacOS HOT 2
- External command fails, but works fine after running it manually HOT 1
- Allow overriding URL prefix and public key in cargokit_options.yaml
- shasum: command not found HOT 2
- Cmake cannot find NDK on MacOS HOT 1
- Can we link `libc++` to Android apps?
- iOS podspec affects Android build HOT 3
- Sentry plugin fails with cargokit issue HOT 1
- `nightly`-only options in `~/.cargo/config.toml` break build of default setup HOT 12
- Xcode Library setting clear (reset) by cargokit
- failing to build a flutter_rust_bridge_codegen app for android under fedora (can not find crate core) HOT 1
- No such file or directory in run_build_tool.sh
- Flutter, Android, rinf, Cargokit, Rust, C: Problem loading ndk standard C++ library HOT 7
- The iOS bundle is too big
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargokit.