Git Product home page Git Product logo

Comments (3)

heckj avatar heckj commented on August 28, 2024 1

I spent a few minutes today exploring, the the Rust nightlies are reporting that the watchOS specific targets aren't supported for their version. This isn't a space I'm super familiar with, but when I dug around, I did find an explicit list of "supported targets" using rustup target list - and none of the ones listed at https://doc.rust-lang.org/rustc/platform-support/apple-watchos.html were available.

I'm going to continue digging to see how/where they ARE supported, as they're clearly in there somewhere based on those docs, but it doesn't appear to be well defined. The issue rust-lang/rust#48862 makes somewhat conflicting statements, including that Apple's LLVM being required for some of the watchOS based targets - so that information may be incorrect. I'll keep digging, but wanted to put up an update.

from automerge-swift.

heckj avatar heckj commented on August 28, 2024

hey @c-st - we can certainly give it a shot. If that's something you're familiar with, the core the logic would all be encapsulated within https://github.com/automerge/automerge-swift/blob/main/scripts/build-xcframework.sh, which we recently updated to move to a more recent nightly version of Swift to continue the macCatalyst support.

If you're game for a PR, definitely drop it in place, otherwise I'll try and circle back to this fairly shortly and see what I can do to try it out and see if it's as "easy" as I'd hope. (there's some creaki-ness in macCatalyst support - being a tier3 platform means that you need to use a nightly version of Rust to build it all).

from automerge-swift.

heckj avatar heckj commented on August 28, 2024

Still tucking around - there's an option for printing Rust's target supports that I found on StackOverflow - the result of this makes me think it IS there in the nightly we're using, I just haven't sorted out how to unlock it.

rustc +nightly -Z unstable-options --print all-target-specs-json | jq '[ to_entries[] | { "target": .key, "arch": .value.arch, "os": .value.os, "target-family": .value."target-family" } ]'

from automerge-swift.

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.