GithubHelp home page GithubHelp logo

Comments (4)

nstoddard avatar nstoddard commented on May 24, 2024

I'm seeing the same thing (same environment as the above poster, but slightly different cargo version). Until this is fixed, it's impossible to migrate away from the deprecated time crate in std.

from time.

alexcrichton avatar alexcrichton commented on May 24, 2024

This looks like it's because gcc isn't in your path. This library shells out to gcc to compile some native code, so it'll require it to be in your PATH. I've just pushed some hopefully clearer error messages to help reduce this pain in the future!

from time.

nstoddard avatar nstoddard commented on May 24, 2024

It seems that gcc not being in the path isn't the only problem. I tried adding Rust's bundled gcc to the path and got a similar error; it only worked when I installed MinGW64 and used its gcc. Surely the build script should be able to use Rust's bundled gcc?

It would be very nice if the build script could be made to work without installing MinGW or modifying your path. I assume this would require modifying gcc-rs; should I file an issue over there?

from time.

alexcrichton avatar alexcrichton commented on May 24, 2024

@nstoddard that'd be the right place, yes, thanks!

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.