Argus: a Trait Debugger for RustArgus is a tool to help you with compiler errors related to traits. If you have ever seen an error that says Limitations
Argus relies on the New Trait Solver for Rust. Therefore, Argus inherits all the limitations of that solver which is also under active development. The New Trait Solver is known to be unsound and incomplete — while using Argus you may accidentally run into these areas. This does not mean that Argus is useless. The New Trait Solver is only used to type-check the current workspace and still works if you're using a trait-heavy crate. InstallationArgus is available as a VSCode extension. You can install Argus from the VSCode Marketplace or the Open VSX Registry. In VSCode:
Building from sourceSome additional software is needed to build Argus from source. For the TypeScript bindings, you need to install the language Guile. The IDE requires Depot, a JS "devtool orchestrator." After this simply run the following:
FAQrustup fails on installationIf rustup fails, especially with an error like "could not rename the downloaded file", this is probably because Argus is running rustup concurrently with another tool (like rust-analyzer). Until rustup#988 is resolved, there is, unfortunately, no automated way around this. To solve the issue, go to the command line and run:
Then go back to VSCode and click "Continue" to let Argus continue installing. Where does the name come from?Argus or Argos Panoptes (Ancient Greek: Ἄργος Πανόπτης, "All-seeing Argos") is a many-eyed giant in Greek mythology.
|