Giter VIP home page Giter VIP logo

Comments (7)

dylni avatar dylni commented on July 17, 2024

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.

DrHyde avatar DrHyde commented on July 17, 2024

Thanks!

from process_control.

pfmooney avatar pfmooney commented on July 17, 2024

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.

dylni avatar dylni commented on July 17, 2024

@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.

dylni avatar dylni commented on July 17, 2024

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.

dylni avatar dylni commented on July 17, 2024

Version 3.3.0 has been published with Illumos support. Thanks for reporting the issue!

from process_control.

DrHyde avatar DrHyde commented on July 17, 2024

Thanks!

from process_control.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.