about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-02 08:25:19 +0900
committerGitHub <noreply@github.com>2020-10-02 08:25:19 +0900
commit55d0959328d2212c0b16906200bdde3dc8ec2cc5 (patch)
tree6dd376b81de94f56119e7a36115dc9117200f5fb /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentbf15fcd927d8d2e2d4ec6c54c58e5a24a1d43049 (diff)
parent494d6e514bb29341270720067d9842e8862704f8 (diff)
downloadrust-55d0959328d2212c0b16906200bdde3dc8ec2cc5.tar.gz
rust-55d0959328d2212c0b16906200bdde3dc8ec2cc5.zip
Rollup merge of #77362 - RReverser:patch-1, r=dtolnay
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 any paths, including `/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