I want to switch the toolchain from MinGW to Visual Studio and I can switch it by making Visual Studio toolchain as default (File->Settings->Build, Execution, Deployment->Toolchains->Select Visual Studio->Click Up arrow). You can even delete/remove your windows rust install. I started trying to use of CLion 2018.2 today and the first problem with I stuck is how to switch toolchains in CLion. Now you can leave all your projects inside \\$wsl and use all the standard linux/GNU tools and libraries. You know it's working when you run something and the first cmd in the output window is something like `C:\Windows\system32\wsl.exe` The standard library path should auto-update if you've set the toolchain root correctly. Clion toolchain how to How to Uninstall CLion from Ubuntu 20.04.Method 2: Installing CLion IDE from Source.Method 1: Installing CLion as a Snap Package. It should be someplace like: \\wls$\Ubuntu\home\user-name\.cargo\bin`. Then just change up your rust toolchain location (setting->Languages & Frameworks->Rust) to point to your WSL toolchain. You need to install rust in wsl, like any Linux distro. These instructions are for CLion 2021.2.1, from this change-log : īasically, just turn on the experimental option `` (you can search actions for 'experimental features" to find the list of options). System requirements 2 GB of free RAM 8 GB of total system RAM Multi-core CPU. I'm adding this comment as this is the top search result in google when looking for "clion wsl rust". Install CLion CLion is a cross-platform IDE that provides consistent experience on Windows, macOS, and Linux (for setup on FreeBSD, refer to this instruction). Using Windows CLion to work on linux/GNU rust projects under WSL now works (at least for me).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |