Giter Club home page Giter Club logo

Comments (5)

rishflab avatar rishflab commented on May 26, 2024

I think the dependency to rust fmt needs to be given a rev tag in the Cargo.toml to lock it to a commit

from dprint-plugin-rustfmt.

dsherret avatar dsherret commented on May 26, 2024

Yes, I think you're right. Last time I went to go try to build this I encountered the same problem. I will look into it soon or maybe @thomaseizinger knows a quick fix.

It's really so unfortunate this plugin is no longer a wasm plugin and if it were a wasm plugin then I believe this would solve all your issues. I opened #7 to track this.

from dprint-plugin-rustfmt.

thomaseizinger avatar thomaseizinger commented on May 26, 2024

Yes, I think you're right. Last time I went to go try to build this I encountered the same problem. I will look into it soon or maybe @thomaseizinger knows a quick fix.

The revision is locked in the Cargo.lock file: https://github.com/dprint/dprint-plugin-rustfmt/blob/main/Cargo.lock#L572

I don't quite understand why it would fail to compile.

from dprint-plugin-rustfmt.

thomaseizinger avatar thomaseizinger commented on May 26, 2024

Compiles cleanly on my machine.

❯ uname -a
Linux thomas-thinkpad 5.10.61-1-MANJARO #1 SMP PREEMPT Thu Aug 26 20:36:54 UTC 2021 x86_64 GNU/Linux

Command used:

cargo build --bin dprint-plugin-rustfmt --features=process --release --verbose

from dprint-plugin-rustfmt.

dsherret avatar dsherret commented on May 26, 2024

This should be resolved now. I'm able to compile, but wasn't able to previously.

from dprint-plugin-rustfmt.

Related Issues (6)

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.