Git Product home page Git Product logo

Comments (4)

kali avatar kali commented on July 17, 2024

Hi,

What are you trying to achieve with the rust test suite exactly ? What specific parts of dinghy do you want to share with rust test suite, and which part would you prefer to exclude ? What about using dinghy itself as a library, just like cargo-dighy does and take it from there ?

In terms of sharing VS cut and pasting, there are other factor to consider. On principle, sharing would undoubtly be better. On the other hand, Dinghy code is young, still feels clunky, and is probably fragile in ways I have no idea about. Putting it as-is under the strict-ish code management suitable for rustc may be a bit premature.

from dinghy.

learnopengles avatar learnopengles commented on July 17, 2024

Hi Mathieu! Basically I would need the deployment + execution part of dinghy, but not the compiling. Right now it would just be for the simulator. I think your idea on "What about using dinghy itself as a library, just like cargo-dighy does and take it from there ?" makes a lot of sense. That might not be possible in the compiler on a first pass but I think a longer-term goal it would definitely be neat to have everything related to both Android and iOS as a reusable library.

As an example here's how I did it for libc: https://github.com/rust-lang/libc/pull/498/files

from dinghy.

kali avatar kali commented on July 17, 2024

Hi, is this topic still active ? Have you tried moving some logic already ? or should we just close this ?

from dinghy.

learnopengles avatar learnopengles commented on July 17, 2024

Hi Mathieu, sorry, I didn't have email notifications enabled apparently. I haven't been writing Rust for mobile so I haven't really spent much time on it. 😇 So yes, we could just close this for now.

It would still be neat to do, and when we were discussing this I submitted a PR to rust-lang/libc a while ago that added support to the libc library: https://github.com/rust-lang/libc/pull/498/commits. I suppose something similar would work for the main repo.

from dinghy.

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.