Coder Social home page Coder Social logo

Unable to compile examples about winterfell HOT 6 CLOSED

facebook avatar facebook commented on April 28, 2024
Unable to compile examples

from winterfell.

Comments (6)

irakliyk avatar irakliyk commented on April 28, 2024 2

do you know when we can expect the next release?

Hopefully in the next 4 weeks or so. Not sure if full support for RAPs will be there by then, but I'm hoping to get at least #58 included.

from winterfell.

Nashtare avatar Nashtare commented on April 28, 2024

I am commenting here though I am not the author of the library. I believe this comes from the toolchain upgrade from 1.52.0 to 1.53.0. Which one are you using in your example above? Setting it to 1.53.0 or higher should be enough to make it compile.
Maybe adding a rust-toolchain file or specifying the supported ones in the README would be nice?

from winterfell.

vikulin avatar vikulin commented on April 28, 2024

I used following version:
$ rustc --version
rustc 1.52.1 (9bc8c42bb 2021-05-09)

from winterfell.

irakliyk avatar irakliyk commented on April 28, 2024

Hi @vikulin - thank you for the question!

As @Nashtare pointed out above, the issue is with the compiler version. For best results, the following compilers should be used:

  • For Winterfell v0.1: rustc 1.53
  • For Winterfell v0.2: rustc 1.54

@Nashtare - we are planning to move to Rust 2021 with the next release, and I believe there it should be possible to specify minimum rustc version in Cargo.toml directly. Do you think that would be sufficient?

from winterfell.

Nashtare avatar Nashtare commented on April 28, 2024

@irakliyk I didn't know they were planning to integrate this feature directly in the Cargo.toml file! I guess that will be enough then, do you know when we can expect the next release? After RAPs are integrated?

from winterfell.

irakliyk avatar irakliyk commented on April 28, 2024

Closing this out since v0.3 published today specifies rustc version required in Cargo.toml files.

from winterfell.

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.