1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
InstallationTo use rust-analyzer, you need a If you're using VS Code, the extension bundles a
copy of the Rust Standard Libraryrust-analyzer will attempt to install the standard library source code
automatically. You can also install it manually with Only the latest stable standard library source is officially supported for use with rust-analyzer. If you are using an older toolchain or have an override set, rust-analyzer may fail to understand the Rust source. You will either need to update your toolchain or use an older version of rust-analyzer that is compatible with your toolchain. If you are using an override in your project, you can still force
rust-analyzer to use the stable toolchain via the environment variable
CratesThere is a package named For more details, see the publish workflow. |