Coder Social home page Coder Social logo

Comments (4)

AlbanMinassian avatar AlbanMinassian commented on July 22, 2024 2

same problem before rustup update. no build error after rustup update :-)
thank @er888kh

from bore.

erfan-khadem avatar erfan-khadem commented on July 22, 2024

How did you install Rust? Is it up to date?
I compiled (both from git repo manually and cargo install) using both rustc 1.62.0-nightly (e745b4ddb 2022-04-07) and rustc 1.60.0 (7737e0b5c 2022-04-04) and it seems to work on my machine (Arch).

Maybe you are running some version < 1.58? Because that is when Format Strings were introduced.

from bore.

Ecoleaf1 avatar Ecoleaf1 commented on July 22, 2024

Cheers @er888kh and @AlbanMinassian! Turns out the default ubuntu repository was outdated, updating to 1.60.0 fixes my problem (removing rust in the default repository, then installing Rust via https://rustup.rs/).

from bore.

ekzhang avatar ekzhang commented on July 22, 2024

Thanks for reaching out about this! Indeed, this format string syntax is a feature introduced in Rust 1.58.0, so you'll need at least Rust 1.58 to build bore. In general I've only tested compilation on the latest stable version of Rust (1.60).

from bore.

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.