Giter VIP home page Giter VIP logo

Comments (3)

knopp avatar knopp commented on July 28, 2024

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.

vhdirk avatar vhdirk commented on July 28, 2024

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.

vhdirk avatar vhdirk commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.