GithubHelp home page GithubHelp logo

Comments (4)

bdbai avatar bdbai commented on May 20, 2024 1

Compiling with target thumbv7a-uwp-windows-msvc (a.k.a ARM for Windows Store apps) failed because stdcall is not supported:

error[E0570]: The ABI `"stdcall"` is not supported for the current target
  --> C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\com-0.2.0\src\interfaces\iclass_factory.rs:12:1
   |
12 | #[com_interface("00000001-0000-0000-c000-000000000046")]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0570]: The ABI `"stdcall"` is not supported for the current target
 --> C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\com-0.2.0\src\interfaces\iunknown.rs:8:1
  |
8 | #[com_interface("00000000-0000-0000-C000-000000000046")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Please consider reopening this issue because ARMv7 is still a supported platform on Windows.

from com-rs.

rylev avatar rylev commented on May 20, 2024

Thanks for reporting this. Currently, support for platforms other than Windows is outside the scope of this crate. The intercom crate might be a better fit for that use case at this point. That’s not to say we won’t ever support other platforms, we’re just currently trying to limit the scope to make getting the crate bootstrapped easier. We should make this more explicit in the readme.

from com-rs.

m-hilgendorf avatar m-hilgendorf commented on May 20, 2024

That's understandable. There's a lot more needed to support cross platform stuff anyway, mostly reexporting what's used from winapi.

from com-rs.

rylev avatar rylev commented on May 20, 2024

I'm going to close this now since this isn't currently on our roadmap, but if we end up supporting other platforms other than Windows, we will definitely make this change.

from com-rs.

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.