Giter VIP home page Giter VIP logo

Comments (6)

robinkrahl avatar robinkrahl commented on May 30, 2024 1

I performed some tests:

  • cargo install works with stable/1.39.0 (log).
  • cargo build on master fails with 1.39.0 (log) but works with 1.38.0 (log).

libc fixed the problem with this commit (version 0.2.63).

Conclusion: Use rustc 1.38.0, use cargo install instead of cargo build, update the libc dependency to at least 0.2.63 or compile from devel instead of master.

from nitrocli.

d-e-s-o avatar d-e-s-o commented on May 30, 2024

The issue seems to be in libc itself and has nothing to do with nitrocli. In fact, it even exists on devel. An upgrade to 0.2.66 (from 0.2.62) resolves it.

@robinkrahl used to maintain the Arch Linux build.

from nitrocli.

d-e-s-o avatar d-e-s-o commented on May 30, 2024

I suspect (but haven't verified) that it got introduced with a newer version of Rust. Newer versions sometimes add new lints or change the behavior of existing ones in unexpected ways. This may be the case here and that's why deny(warnings) is extremely dangerous and I removed that from this crate's code base.
That is a long winded way of saying that you may get lucky using an older version of Rust. Alternatively, compile top-of-tree devel from source.

from nitrocli.

d-e-s-o avatar d-e-s-o commented on May 30, 2024

Thanks Robin. I've just released 0.3.0 which should prevent this build failure on Rust 1.39. Feel free to push it into AUR if you have the cycles.

from nitrocli.

robinkrahl avatar robinkrahl commented on May 30, 2024

I’ve just updated the AUR build to 0.3.0-1.

from nitrocli.

d-e-s-o avatar d-e-s-o commented on May 30, 2024

Awesome! Thanks Robin! I don't see anything else to be done here then. Closing.

from nitrocli.

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.