report target error if llvm-target not set

This commit is contained in:
Li Jie
2025-08-22 06:58:09 +08:00
parent c9c703dfe6
commit 2508674227
2 changed files with 6 additions and 6 deletions

View File

@@ -193,7 +193,7 @@ func TestUseTarget(t *testing.T) {
{
name: "Cortex-M Target",
targetName: "cortex-m",
expectError: false,
expectError: true,
expectLLVM: "",
expectCPU: "",
},