thlorenz / rid

Rust integrated Dart framework providing an easy way to build Flutter apps with Rust.
64 stars 4 forks source link

Windows support #33

Closed SecondFlight closed 2 years ago

SecondFlight commented 2 years ago

Hi!

I'm working on an open-source cross-platform desktop app. I work on Windows, and I have collaborators who work on Windows and macOS.

Some questions about this:

  1. Do you plan Windows and/or Linux support in the future?
  2. If so (or if not!), would you accept contributions aimed toward making this a reality?

Thanks!

thlorenz commented 2 years ago
  1. Linux is supported ATM (see https://github.com/thlorenz/rid/pull/7 and https://github.com/thlorenz/rid/pull/18), you just have to add it to the platforms of the Flutter project inside the rid_build.rs of your project. Of course I'd like to support windows as well but haven't prioritized that ATM. It's mainly infrastructure related things that we'd have to figure out for windows, i.e. where is the LLVM install, etc.
  2. I would very much love contributions that make rid work on windows! 😄
thlorenz commented 2 years ago

Can we close this now since you did all the work? Or is something still needed and we should keep this open?

SecondFlight commented 2 years ago

I'm still working on this. I just got make test to pass for the first time a couple minutes ago.

I'll open a PR soon-ish, but I want to make sure the examples build and add an action to build on Windows.