-
-
Notifications
You must be signed in to change notification settings - Fork 120
Development setup
Joshua Thijssen edited this page Sep 28, 2023
·
2 revisions
When being new to Rust, it's a bit hard to get a setup up and running even though rust itself compiles quite easily through 'cargo'.
So here is my setup as of september 2023:
- I'm using WSL2 on windows so I can run in a linux-esque environment.
I use CLion with the (now deprecated) rust plugin.I do not use RustRover (yet), as it doesn't support WSL correctly- RustRover now supports WSL and LLDB works correctly.
- I have my c-drive mounted in wsl, and store the code on the C-drive. This is because using it directly in WSL gets into issues with file locking, and debugging.
I do debugging with the GDB debugger, which is not fast (it takes a few seconds before all variables are loaded), but can show details. The LLVM debugger is a lot faster, but cannot display internal structures so it's not really workable.