-
Notifications
You must be signed in to change notification settings - Fork 565
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
Replace dep jobserver
with jobslot
#1317
Conversation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
I am quite reluctant to move to a fork. Especially when the original maintainer is the amazing @alexcrichton You also don't share enough information about the performance improvement. |
If rust-lang/cargo#11066 is merged, maybe we will consider merging this PR but we probably won't until this. |
On unix, Since the callback can do whatever it wants, Both Though I did not run any benchmarks so I can't say for sure how much of a speedup it would be. |
Without data, I am even less convinced to merge it than I was before :) |
Well, the main motivation for me to fork it is to fix the bug plus refactoring, the better performance is just a side-effect. Other improvements in
|
Sure, I understand that you think it is the right approach but I am not going to switch sccache to a 2 days-old new crate when I have no idea how long it is going to be maintained (while Alex has been maintaining jobserver for 5 years). |
Yes I fully understand your decision to not switch right now. Though Honestly I am astonished how many well-known crates in rust do not receive enough maintainance. |
This is the case of opensource as a whole... |
sad but indeed true. |
closing for now |
Signed-off-by: Jiahao XU Jiahao_XU@outlook.com
This PR replaces dep
jobserver
with a forkjobslot
.Advantages over
jobserver
?jobslot
contains bug fix for Client::configure is unsafejobslot
removed use of signal handling in the helper thread on unixjobslot
useswinapi
on windows instead of manually declaring bindings (some of the bindings seem to be wrong)jobslot
usesgetrandom
on windows instead of making homebrew one using raw windows api