Git Product home page Git Product logo

Comments (6)

newpavlov avatar newpavlov commented on July 29, 2024

I think it should be fixed on the bcrypt side by forwarding the std feature. Plus simultaneously they also can update to getrandom v0.2, which does require such forwarding on Linux targets as well.

from getrandom.

josephlr avatar josephlr commented on July 29, 2024

Looks like this was resolved in Keats/rust-bcrypt#57. However, we should still probably update the 0.1 branch to fix this. It was a breaking change, and adding the std stuff back for Windows shouldn't hurt anything.

from getrandom.

newpavlov avatar newpavlov commented on July 29, 2024

IIRC std stuff never worked on Windows in the first place, so it's not a breaking change, but an inconsistency between Linux and Windows targets.

from getrandom.

josephlr avatar josephlr commented on July 29, 2024

IIRC std stuff never worked on Windows in the first place, so it's not a breaking change, but an inconsistency between Linux and Windows targets.

You're right.

I confirmed that v0.1.8 never had the std::error::Error implementations for Windows (unless you had the "std" feature enabled). So the removal and readding were not breaking changes on Windows. Closing as not a bug.

from getrandom.

pie-flavor avatar pie-flavor commented on July 29, 2024

@josephlr 0.1.6 did, though. That just means the break took place slightly earlier.

from getrandom.

josephlr avatar josephlr commented on July 29, 2024

@josephlr 0.1.6 did, though. That just means the break took place slightly earlier.

Good catch, reopening.

from getrandom.

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.