Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No docs for ComPtr #19

Open
Manishearth opened this issue Aug 13, 2019 · 3 comments
Open

No docs for ComPtr #19

Manishearth opened this issue Aug 13, 2019 · 3 comments

Comments

@Manishearth
Copy link

https://docs.rs/wio/0.2.0/wio/com/struct.ComPtr.html doesn't exist, perhaps the crate needs some doc(cfg) stuff?

@retep998
Copy link
Owner

That is the docs for the linux version. I just need to specify the appropriate docs.rs stuff so it defaults to Windows.

@Manishearth
Copy link
Author

Yeah, that's what I mean, you can use doc(cfg) to make that work IIRC

@agashlin
Copy link

agashlin commented Aug 13, 2019

It's also worthwhile specifying it as the default in Cargo.toml:

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"

Edit: To be clear, this is what retep998 is proposing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants