[clang] [clang][modules-driver] Further constrain import-std test (PR #194604)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 05:30:11 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-driver
Author: Naveen Seth Hanig (naveen-seth)
<details>
<summary>Changes</summary>
The root cause for the failing test was found in https://github.com/llvm/llvm-project/pull/194475#issuecomment-4335023585.
The test uses `--target=x86_64-linux-gnu` which is only available with `-DLLVM_TARGETS_TO_BUILD=all` or on native x86 targets.
---
Full diff: https://github.com/llvm/llvm-project/pull/194604.diff
1 Files Affected:
- (modified) clang/test/Driver/modules-driver-import-std.cpp (+1-2)
``````````diff
diff --git a/clang/test/Driver/modules-driver-import-std.cpp b/clang/test/Driver/modules-driver-import-std.cpp
index 394b0dc8d95d3..3a51cab0406b2 100644
--- a/clang/test/Driver/modules-driver-import-std.cpp
+++ b/clang/test/Driver/modules-driver-import-std.cpp
@@ -1,8 +1,7 @@
// Checks that -fmodules-driver correctly handles the import of Standard library
// modules.
-// https://github.com/llvm/llvm-project/pull/194475#issuecomment-4331347690
-// UNSUPPORTED: target={{.*}}aarch64{{.*}}, {{.*}}arm64{{.*}}
+// REQUIRES: x86-registered-target
// The standard library modules manifest (libc++.modules.json) is discovered
// relative to the installed C++ standard library runtime libraries
``````````
</details>
https://github.com/llvm/llvm-project/pull/194604
More information about the cfe-commits
mailing list