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

Fix rustdoc generation of Windows and Mac on docs.rs, fix #503 #507

Merged
merged 8 commits into from
Feb 27, 2022

Conversation

wusyong
Copy link
Member

@wusyong wusyong commented Feb 21, 2022

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
  • I have added a convincing reason for adding this feature, if necessary

Other information

@wusyong wusyong requested a review from a team February 21, 2022 05:48
@wusyong wusyong requested a review from a team as a code owner February 21, 2022 05:48
@wusyong wusyong changed the title Fix rustdoc generation of Windows and Mac on docs.rs Fix rustdoc generation of Windows and Mac on docs.rs, fix #503 Feb 21, 2022
@wusyong wusyong requested a review from lucasfernog February 21, 2022 13:57
@lucasfernog
Copy link
Member

Are you sure it builds without the default features? I thought we only needed to use the objc/exception feature as a default feature.

@wusyong
Copy link
Member Author

wusyong commented Feb 22, 2022

No, it's not. That's why I set the features need to use in docs.rs
That being said, I update the scope of default features like you said.

Cargo.toml Outdated
@@ -78,5 +78,5 @@ sys-info = "0.9"
[target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies]
cocoa = "0.24"
core-graphics = "0.22"
objc = { version = "0.2", features = [ "exception" ] }
objc = { version = "0.2", features = ["exception"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you still need to remove the feature here right? since it's enabled with default features now

@lucasfernog lucasfernog merged commit 327a019 into dev Feb 27, 2022
@github-actions github-actions bot mentioned this pull request Feb 27, 2022
@amrbashir amrbashir deleted the fix-doc branch September 20, 2022 22:03
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 this pull request may close these issues.

2 participants