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 incomplete — while using Argus you may accidentally run into areas of Rust where the solver is limited. This does not mean that Argus is useless. The New Trait Solver is only used to type-check the current workspace and is still useful to debug a wide-range of trait errors. https://github.com/user-attachments/assets/9a544060-e8ad-455e-9831-5e5d48c96542 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. Afterward run
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.
Having trouble? (or providing feedback!)We're happy to chat and answer questions on the Argus Zulip channel. You can also reach the authors via email, gavinleroy@brown.edu and wcrichto@brown.edu, we'd love to hear your feedback as we iterate in the design and development of Argus! |