Giter VIP home page Giter VIP logo

Comments (6)

KodrAus avatar KodrAus commented on September 13, 2024 1

Since the v6, v7, and v8 features are unstable, you also need to set a RUSTFLAGS environment variable at build-time in order to use them. We've got some docs on that here.

my project was building just fine 3/4 days ago

That makes me think you probably already have that flag set though, so I'll look into it. Maybe something changed upstream in Rust; we haven't made any releases in the last few days.

from uuid.

KodrAus avatar KodrAus commented on September 13, 2024 1

Glad you got it sorted! For what it’s worth, I can’t wait to get rid of those cfgs once the RFC is stable.

from uuid.

Giom-fm avatar Giom-fm commented on September 13, 2024 1

How did I manage to miss that?
Thanks, now everything works as expected.

from uuid.

ducdetronquito avatar ducdetronquito commented on September 13, 2024

Hey,

Same here; my project was building just fine 3/4 days ago but today I end up with the same error as you, without any modification of the codebase.

NB: I use uuid 1.4.0, built with Rust 1.70.0 on Debian

from uuid.

KodrAus avatar KodrAus commented on September 13, 2024

I just gave this a test with our example for a v7 sortable UUID using Rust 1.70.0 and 1.71.0 using the RUSTFLAGS cfg and it worked.

from uuid.

ducdetronquito avatar ducdetronquito commented on September 13, 2024

Hey,

I have the appropriate rustflags set in a cargo/config.toml file.

I will try again tonight; the fault is likely on my end anyway.

EDIT:

Well, the error was on my end; my cargo/config.toml is not detected for some reason but using the inlined environment variable RUSTFLAGS="--cfg uuid_unstable" cargo build worked like a charm.

EDIT2:
It appears that my cargo/config.toml should be named .cargo/config.toml; I don't know how I made it work few days ago ^^

Sorry for the inconvenience...

Have a nice day :)

from uuid.

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.