================
@@ -94,7 +94,7 @@ static std::error_code getHostID(SmallVectorImpl<char>
&HostID) {
StringRef UUIDRef(UUIDStr);
HostID.append(UUIDRef.begin(), UUIDRef.end());
-#elif LLVM_ON_UNIX
+#elif !defined(__wasi__)
----------------
jyknight wrote:
You're changing behavior for `!LLVM_ON_UNIX` (like Windows) to use this branch
now. That seems probably unintended. Meant `#elif LLVM_ON_UNIX &&
!defined(__wasi__)`?
https://github.com/llvm/llvm-project/pull/92677
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits