Comments (4)
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.
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.
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.
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)
- Parameters of class implementation should be borrowed, not owned
- Rust Analyzer can't recognize the IUnknown HOT 7
- Compatibility with Windows SDK / winapi crate HOT 1
- AbiTransferable on complex structures in winapi crate HOT 5
- Drop of COM class not working in webview2 example?
- Future of this crate HOT 6
- Interfaces nested more than 2 levels deep do not compile HOT 1
- Does class! support generic types? HOT 1
- docs.rs failed to build com-0.4.0 HOT 1
- Request to add an "Accessible" example
- Question: How do I get interface vptr from a struct? HOT 2
- com::interfaces! is not clean of clippy warnings HOT 1
- New release? HOT 2
- Generate rust code from IDL/TLB/COM dll? HOT 14
- How to use com-rs? HOT 1
- Could not find `class` in `com` HOT 3
- Support local (not/temporarily heap allocated) class instances
- Incompatible with Windows-rs HOT 4
- This repo is missing important files
- any way to use activex dll?
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 com-rs.