GithubHelp home page GithubHelp logo

Comments (5)

hatmajster avatar hatmajster commented on June 11, 2024 1

Next time you can use toolchain that is specified in README.md on line 59.

I knew it was stated somewhere;)

Sorry, i'll look into reducing nighlty features or gate them under cargo features.

No, please don't, this was just my general rant about rust reality. There are magnitude of packages that don't do anything special like math or whatever and suddenly use some nightly unstable features just because someone wanted to be smart or cool. It's annoying because you can't be sure to use it in a real production environment.
However, this is a rather hacky and complex solution to really niche and fun problem, and I really appreciate the great work. As its still work in progress, I don't think it will help the project at all. Probably when its completed it would be great to reduce dependency on nightly, but not yet. Introducing feature gates will only complicate things i think...
And besides, rust-psp is rather a base-level library it doesn't hurt much to use unstable rust with it. Its other libraries that should minimize unstable stuff...

from rust-psp.

hatmajster avatar hatmajster commented on June 11, 2024

Also see this. To reproduce:

cargo init demo
cd demo
cargo add psp
cargo psp

from rust-psp.

hatmajster avatar hatmajster commented on June 11, 2024

Downgrading psp to 0.3.5 and using rust nightly-2023-08-01 is a workaround for me

rustup default nightly-2023-08-01
rustup component add rust-src --toolchain nightly-2023-08-01-x86_64-unknown-linux-gnu

If I may digress as much as I really like rust as I learn it, the requirement of this nightly compilers in almost every package I use is very annoying. But I understand its a price of cutting edge:/ Good thing I am able to somehow easily go back at least.

from rust-psp.

zetanumbers avatar zetanumbers commented on June 11, 2024

Should be solved by #155

from rust-psp.

zetanumbers avatar zetanumbers commented on June 11, 2024

Downgrading psp to 0.3.5 and using rust nightly-2023-08-01 is a workaround for me

Next time you can use toolchain that is specified in README.md on line 59.

If I may digress as much as I really like rust as I learn it, the requirement of this nightly compilers in almost every package I use is very annoying. But I understand its a price of cutting edge:/ Good thing I am able to somehow easily go back at least.

Sorry, i'll look into reducing nighlty features or gate them under cargo features. However please understand that there's no way yet not to use unstable features, just because of -Zbuild-std.

from rust-psp.

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.