Comments (4)
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.
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.
Hi, is this topic still active ? Have you tried moving some logic already ? or should we just close this ?
from dinghy.
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)
- No device support directory for iOS version 12.5 HOT 3
- deploy to iOS devices with ios-deploy HOT 2
- Duplicate executable file in ios *.app folder
- On the use `std::fs::ReadDir.next()` HOT 3
- Maintain CHANGELOG HOT 2
- tvOS simulator support HOT 1
- watchOS simulator support
- copy libc++_shared.so for Android tests HOT 2
- `undefined symbol: ANativeWindow_setBuffersGeometry` with visual tests using `wgpu` HOT 4
- Getting files generated by tests back? HOT 3
- Add macOS M1 binary to release CI HOT 2
- Faiiled to build what use ndk_context project HOT 3
- Use `xcrun devicectl` to deploy to iOS devices. HOT 2
- Dinghy hangs on macOS-14 runner HOT 1
- OpenHarmony support(ohos) HOT 1
- Support cargo-dinghy as a cargo test runner HOT 4
- Provide an example how to measure (code coverage) profiling data and save it on the host
- Run test on iOS failed: No such file or directory (os error 2) HOT 5
- xcrun: error: unable to find utility "devicectl", not a developer tool or in PATH HOT 6
- About the build performance HOT 3
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 dinghy.