Coder Social home page Coder Social logo

Comments (7)

Bromeon avatar Bromeon commented on May 30, 2024

Is rustfmt accessible on your system?

Does the issue already occur with Beta 9?

from gdext.

jabcross avatar jabcross commented on May 30, 2024

Is rustfmt accessible on your system?

Yes, version 1.5.1. I'm on Manjaro.

image

Does the issue already occur with Beta 9?

Just tested, yes, same error.

from gdext.

jabcross avatar jabcross commented on May 30, 2024

Found issue: it's trying to run rustup, but I installed rustfmt using cargo install. I don't have rustup installed.

I just changed the code in rustfmt_if_needed to call rustfmt directly instead of through rustup, and that seems to have worked.

from gdext.

Bromeon avatar Bromeon commented on May 30, 2024

Ah, nice find! I think this issue also exists in gdnative.

Since you made the necessary changes already, would you be happy to submit a PR? (At the moment, it may take a bit longer until I can have a look though 😉)

from gdext.

jabcross avatar jabcross commented on May 30, 2024

Well, as long as rust-fmt also gets added to the path when installed through rustup, it should work. I'll do it when I get home.

from gdext.

jabcross avatar jabcross commented on May 30, 2024

Here you go. #59

from gdext.

Bromeon avatar Bromeon commented on May 30, 2024

Closed by #59.

from gdext.

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.