-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
Make libc dependency optional #928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why I have been pinged for review.
@@ -279,11 +279,10 @@ where | |||
} | |||
|
|||
|
|||
#[cfg(all(unix, not(target_os = "emscripten")))] | |||
#[cfg(all(unix, feature = "std", not(target_os = "emscripten")))] | |||
mod fork { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This requires libc
and not std
, right?
Edit: missed that you switched to Once
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once
requires std
. std
implies libc
in the Cargo.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it was a separate commit, so may be confusing.
Because you commented on #927 and it's sometimes difficult getting reviews done around here. |
LGTM |
Can you publish a new release with this change? |
Fixes #911 and #927.
(Although the plan is still to restrict
ReseedingRng
tostd
for 0.8.)Review please @Amanieu / @BurtonQin / @bjorn3 (and apologies for the delay).