Git Product home page Git Product logo

Comments (4)

nekopsykose avatar nekopsykose commented on July 18, 2024

imo this is really a rust-libc issue, since they still define libc::time_t as c_long irrespective of what the platform is saying (so on musl, this is wrong for 32-bit, as the issue says). as such, it doesn't make too much sense to fix here, and they should just merge the actual fixes already...

from acmed.

breard-r avatar breard-r commented on July 18, 2024

Thank you for this report!

The real issue here may not be the libc one, but the fact that I used it only to create an openssl::asn1::Asn1Time struct with the current time. After reading the OpenSSL documentation with more attention than before, I managed to do it with days_from_now(0) instead.

With the libc::time_t gone, this issue should be fixed. However, because I haven't tested it on a 32-bit platform with musl, I'm not closing it without additional feedback.

from acmed.

ptrcnull avatar ptrcnull commented on July 18, 2024

It seems to compile and pass all tests on 32-bit architectures, thanks :)

Would you mind making a new tagged release with this and the other improvements?

from acmed.

breard-r avatar breard-r commented on July 18, 2024

Than you for the feedback! 🙂
Since this issue is resolved, I'm closing it and I'll make a new release in the next minutes.

from acmed.

Related Issues (20)

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.