mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
85d8f2b27f
Like the WSL check, this was incorrectly assuming WSL implies cfg(windows) when it's actually picked up as Linux. Also, improve over the C++ code by not relying on the build-time WSL status to determine if we are running on WSL at runtime since it's often the case that the fish binaries are built on a non-WSL host (for packaging) then executed on a WSL only at runtime. (But it's ok to assume if fish has been built for Windows or not Linux that it will either be run or not run on top of a Win32 character device system.) Also, port of the comment and relevant WSL and fish issue links over from the CPP codebase for posterity. |
||
---|---|---|
.. | ||
src | ||
widestring-suffix | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |