Code Monkey home page Code Monkey logo

Comments (4)

rsolomo avatar rsolomo commented on July 17, 2024

Yeah, I've ran into this as well. However, cargo check allows passing through additional options to cargo rustc.

In other words you should be able to run cargo check --lib or cargo check --bin NAME to check an individual part of the crate.

from cargo-check.

aomader avatar aomader commented on July 17, 2024

Hm, than I don't see what problem you wrapper actually solves? It's way easier to define an alias than to build cargo check.

from cargo-check.

rsolomo avatar rsolomo commented on July 17, 2024

Just as advertised, it's just a wrapper around calling cargo rustc -- -Zno-trans, if aliases are a better fit for your use case, then I recommend using them.

I tried using cargo check alias before writing this. However I preferred having a shorter command that covered the majority of the use cases I encountered and could just accept additional arguments when I needed them.

In other words I didn't want to have multiple aliases for every cargo rustc option, just a way to always add -- -Zno-trans without explicitly typing it each time.

But yeah, if aliases work better, use them 😄.

from cargo-check.

rsolomo avatar rsolomo commented on July 17, 2024

inactive, closing

from cargo-check.

Related Issues (17)

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.