GithubHelp home page GithubHelp logo

Comments (7)

dessalines avatar dessalines commented on September 26, 2024 6

For me it was as simple as running cargo update. Make sure you open issues if there's a crate you're using that hasn't updated.

from time.

dessalines avatar dessalines commented on September 26, 2024

Nevermind, I see that this has been fixed, deps just need to be updated.

from time.

JosiahParry avatar JosiahParry commented on September 26, 2024

@dessalines, I am running into this issue at present with both nightly and 1.78 docker images. How did you address it?

Edit: even thought time is only a recursive dependency, adding it to my Cargo.toml fixed this issue.

time = "0.3.36"

from time.

mladedav avatar mladedav commented on September 26, 2024

If I understand it correctly, the code used to compile but doesn't with newer versions of the compiler? How is this not an issue in rustc? Something changed that broke backwards compatibility and that should not happen, right?

from time.

jhpratt avatar jhpratt commented on September 26, 2024

I haven't looked into this at all, but my understanding from discussions elsewhere is that this was fixed by #671. time was caught in a crater run when a new trait implementation was added to the standard library. While it is a breaking change, it is considered acceptable breakage because the alternative is never adding any trait implementations or methods.

from time.

iitalics avatar iitalics commented on September 26, 2024

would it be possible to backport a fix for this?

from time.

jhpratt avatar jhpratt commented on September 26, 2024

@iitalics That's impossible.

from time.

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.