4 ms·
Anyone here writing Rust on Windows and using WSL (Windows Subsystem for Linux) in your workflow? I've found using WSL's "bash -c" from my Rust project's worki
by rl3 9y ago
Anyone here writing Rust on Windows and using WSL (Windows Subsystem for Linux) in your workflow?
I've found using WSL's "bash -c" from my Rust project's working directory in Windows to be a rather elegant way to compile and run code for a Linux target.
Theoretically it should be possible to remote debug Linux binaries in WSL from an editor in Windows, but I haven't had time to explore this yet. Both GDB and LLDB have remote debugging functionality.
- TheCoreh 9y agoIt is possible from Visual Studio: https://www.hanselman.com/blog/WritingAndDebuggingLinuxCApplicationsFromVisualStudioUsingTheWindowsSubsystemForLinux.aspx https://www.hanselman.com/blog/WritingAndDebuggingLinuxCAppl...