From 1a88488c309eab24b8f931c182353b271f22b44d Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Thu, 24 Jul 2025 19:26:02 -0700 Subject: Fix metallib-asm target parsing by adding missing comma (#7902) * Fix metallib-asm target parsing by adding missing comma The metallib-asm target was not being recognized from command line because of a syntax error in the target string definition in slang-type-text-util.cpp. A missing comma after the first "metallib-asm" string caused C++ string literal concatenation to create a malformed string. Resolves #7774 Co-authored-by: Jay Kwak * format code (#7910) Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> * regenerate command line reference (#7911) Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --------- Co-authored-by: Claude Code Co-authored-by: Jay Kwak Co-authored-by: slangbot Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- docs/command-line-slangc-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/command-line-slangc-reference.md') diff --git a/docs/command-line-slangc-reference.md b/docs/command-line-slangc-reference.md index 50a0a46c7..8cba2107f 100644 --- a/docs/command-line-slangc-reference.md +++ b/docs/command-line-slangc-reference.md @@ -1089,7 +1089,7 @@ Target * `host-host-callable` : Host callable for host execution * `metal` : Metal shader source * `metallib` : Metal Library Bytecode -* `Metal Library Bytecode assembly` +* `metallib-asm` : Metal Library Bytecode assembly * `wgsl` : WebGPU shading language source * `wgsl-spirv-asm`, `wgsl-spirv-assembly` : SPIR-V assembly via WebGPU shading language * `wgsl-spirv` : SPIR-V via WebGPU shading language -- cgit v1.2.3