qouteall
qouteall
It runs fine in WSL. Running `dx serve --hot-patch` in WSL works with VSCode that's running outside of WSL.
I debugged it. That `--export` is removed by `.skip(1)` https://github.com/DioxusLabs/dioxus/blob/84efc00757c5aac67177821d05769a653a809f66/packages/cli/src/build/request.rs#L2204 In my case the first element of `link_args` is not executable so skipping 1 is wrong.
Root cause is that when handling windows command file it just treat command contents as arguments and write them into argument file, without first argument being program. But in non-windows...
This issue doesn't manifest on desktop platform, because in desktop platform the first argument is `/NOLOGO` which just pervents copyright message and version and doesn't affect actual functionality https://learn.microsoft.com/en-us/cpp/build/reference/nologo-suppress-startup-banner-linker?view=msvc-170
Thanks for the quick response. I have read that great article earlier. Just found that the overview has seemingly outdated things.