GithubHelp home page GithubHelp logo

exa does not compile with Rust 1.0 about exa HOT 6 CLOSED

ogham avatar ogham commented on May 18, 2024
exa does not compile with Rust 1.0

from exa.

Comments (6)

ogham avatar ogham commented on May 18, 2024

Sadly not :(

Don't get me wrong, I'd love to be able to compile with Rust 1.0! But unfortunately at the moment I'm using a lot of unstable APIs that only work with the nightly:

  • I need the fs_ext and fs_mode features to determine file permissions;
  • I need the file_type feature to determine file types;
  • I need the metadata_ext and raw_ext features to get things like the user and group numbers, and modification date;
  • I need the symlink_metadata feature to handle getting info on symlinks correctly.

So it's not just a case of using a few features from collections or core that I might be able to work around - a version without these unstable features would have a significant loss in functionality.

The way I'm working around it is by using multirust to have the stable, beta, and nightly channels installed side-by-side. And until these features become stable, this might be the best you can do.

from exa.

FrancoisBlavoet avatar FrancoisBlavoet commented on May 18, 2024

Thanks for clearing that up.
Too bad ! Well, in the meantime, one can always download the last release for easy installation.

from exa.

ogham avatar ogham commented on May 18, 2024

Too bad indeed. I'm going to do a new release in the next few days because the current one is missing a few features!

from exa.

ogham avatar ogham commented on May 18, 2024

Minor update on this! There are currently six things in exa that require a nightly compiler:

  • The iter_arith, convert, fs_mode, slice_splits, and vec_resize feature flags. All of these use recently-added APIs which are likely to be stabilised in the near future.
  • The scoped_threadpool crate, which requires an unsafe block to work on stable.

So we're past the point where exa is using experimental stuff, and are just waiting for things to settle down.

from exa.

ogham avatar ogham commented on May 18, 2024

Rust 1.4.0 allows safe scoped threadpools, so we're down to five things that require a nightly compiler!

from exa.

ogham avatar ogham commented on May 18, 2024

Fixed in #85!

from exa.

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.