Comments (7)
Thank you for this issue! The primary reason for the compilation errors is missing definitions from libc: rust-lang/libc#2696
If that pull request is merged once issues are fixed, I will update the implementation here and release a new version with support for this platform.
from process_control.
Thanks!
from process_control.
I tested with my pending rust-lang/libc#2697 patch, and the build was content, except for the id_t
type issue noted at L239. Although most platforms use u32
for id_t
, illumos and a few others use something different. I suspect some TryInto handling would address that in a platform neutral manner.
from process_control.
@pfmooney Thank you, and thank you for testing the fix!
You're right that the implementation here does need to be adjusted. Unfortunately, the return type of Child::id
makes it unclear whether TryInto
or as
is always the right answer. I'll be looking into the standard library implementations a bit more to see which would be the best option.
from process_control.
The implementation has been updated for this crate and compiles successfully with the changes in libc. Once a libc version is released with rust-lang/libc#2697, I will verify the fix and release a new version with an updated libc requirement.
from process_control.
Version 3.3.0 has been published with Illumos support. Thanks for reporting the issue!
from process_control.
Thanks!
from process_control.
Related Issues (8)
- openbsd does not have a waitid system call and should use wait4 instead HOT 2
- Release a new version for windows-sys 0.42 HOT 1
- Fails to compile on OpenBSD HOT 8
- Fails to compile - error[E0599]: no method named `si_status` found for struct `siginfo_t` HOT 6
- Bump libc dependency to 0.2.98 HOT 4
- Memory Limit Exceeded Support HOT 4
- build for Android failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from process_control.