Giter VIP home page Giter VIP logo

Comments (7)

marienz avatar marienz commented on May 29, 2024 1

I am not using cargo-clif (I only found out about it just now, from this bug and #246).

I can no longer reproduce the problem after upgrading perseus-cli to 0.4.0-beta.14. Thanks for the fix!

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

Yes, I'm aware of this happening only sometimes, and I've yanked beta 12 accordingly. To my understanding for now, this would appear to be a duplicate of #246, because I've only observed this error when using cargo-clif. Are you seeing this with the default compiler? (Note that this may well be a bug that only occurs sometimes.)

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

Note that I was able to get the website working perfectly after cargo clean without using the experimental compiler backend.

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

Actually, now I think about it, this could just be a cargo clean problem coming from the old beta versions. If you're able to reproduce this after a cargo clean && perseus clean (remember Perseus maintains its own target/ directories in dist/), it's definitely a bug.

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

Now getting this in CI for the website on the new beta 13 (which fixed some fatal bugs from beta 12)...but not locally...

EDIT: I thought this made no sense whatsoever, if .cargo/config.toml was fixing the problem, but it's actually the fault of my poor caching mechanics, as GHA was caching a previous beta version that obviously wasn't passing any RUSTFLAGS. Deleting that cache and using beta 14 allows the website to successfully compile.

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

Working theory: lockfile generation is not passed the RUSTFLAGS, meaning it will only work if there's a .cargo/config.toml in your project setting the necessary flags.

Fixing this seems to make the basic example at least build with cargo-clif.

from perseus.

arctic-hen7 avatar arctic-hen7 commented on May 29, 2024

@marienz I think this issue is fixed now in v0.4.0-beta.14, would you mind giving that a try? If you're still having issues, do try a cargo clean && perseus clean. I'll close this for now.

from perseus.

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.