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

Disentangle docsrs and features #1154

Merged
merged 1 commit into from
Aug 6, 2023
Merged

Disentangle docsrs and features #1154

merged 1 commit into from
Aug 6, 2023

Conversation

pentamassiv
Copy link
Contributor

Remaining cleanup from #1078

@bilelmoussaoui
Copy link
Member

Now that the gir changes have landed, it would be great to also update & regenerate the sys crate.

@pentamassiv
Copy link
Contributor Author

Are you asking me to do it and add it to the PR? I see that you approved it already, so I am not sure

@bilelmoussaoui
Copy link
Member

Are you asking me to do it and add it to the PR? I see that you approved it already, so I am not sure

Yes, please

Just make sure the update submodule commit is separate from the regeneration, as that would simplify backporting

@bilelmoussaoui
Copy link
Member

Actually, I will do that along with more changes

@bilelmoussaoui bilelmoussaoui added the needs-backport PR needs backporting to the current stable branch label Aug 6, 2023
@bilelmoussaoui bilelmoussaoui merged commit 04bddc0 into gtk-rs:master Aug 6, 2023
47 checks passed
@pentamassiv pentamassiv deleted the fix_docsrs branch August 6, 2023 14:13
@@ -84,19 +84,19 @@ pub use socket_msg_flags::SocketMsgFlags;
mod subprocess;
mod subprocess_launcher;
mod threaded_socket_service;
#[cfg(any(unix, docsrs))]
#[cfg(unix)]
Copy link
Member

Choose a reason for hiding this comment

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

Is this actually correct? This way we won't get docs for this unless building on a unix-y system?

Copy link
Member

Choose a reason for hiding this comment

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

I think that is correct yes, but i would refer to @GuillaumeGomez here

Copy link
Member

Choose a reason for hiding this comment

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

That seems like a problem then. Previously we got platform-specific docs when building docs on any platform. There's quite a bit of compat hackery for that :)

@bilelmoussaoui bilelmoussaoui added backported PR was backported to the current stable branch and removed needs-backport PR needs backporting to the current stable branch labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PR was backported to the current stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants