about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorIngvar Stepanyan <me@rreverser.com>2020-09-30 13:12:25 +0100
committerGitHub <noreply@github.com>2020-09-30 13:12:25 +0100
commit494d6e514bb29341270720067d9842e8862704f8 (patch)
tree624f398a6c45cd03e1531ba8f0f088e86040080a /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent12f667fac30c5d074a0e5c766222b5a7b6c88246 (diff)
downloadrust-494d6e514bb29341270720067d9842e8862704f8.tar.gz
rust-494d6e514bb29341270720067d9842e8862704f8.zip
Fix is_absolute on WASI
WASI does not match `cfg(unix)`, but its paths are Unix-like (`/some/path`) and don't have Windows-like prefixes.

Without this change, `is_absolute` for paths like `/some/path` was returning `false`on a WASI target, which is obviously not true and undesirable.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions