I teach computer science and have been trying to get Swift to work on one of my student's Windows computer. It's running Windows 11. We've installed the Swift toolchain, VS Code, and the Swift Extension (which also installs the CodeLLDB extension). At first it complains about not finding liblldb.dll but we realized it was looking in Swift5.10.0-Asserts (or something like that as I don't have access to my student's computer right now) when Swift had installed itself in Swift5.10.1-Asserts (the .1 vs. .0). We got around that by renaming the directory or pointing VS Code at the bin directory. It does build as I see the .build directory show up in VS Code with lots of files in it but when we run (without or without debugging) it gives us a Rust exception and tells us to add the environment variable RUST_BACKTRACE=1. We tried doing that but couldn't get any farther.
I have a Mac and have been able to get a Swift Package to run in VS Code on my Mac (in addition to of course running fine in Xcode). Is there some step we're missing to get it to work on Windows?
Thanks,
Dave