I want to merge two slices of strings since I want to append all field values of mandoc_html_files struct. And my current method is too dumb.
mandoc_mod.addCSourceFiles(.{ .files = &.{
"dbm.c",
"dbm_map.c",
"mansearch.c",
"dba.c",
"dba_array.c",
"dba_read.c",
"dba_write.c",
"mandocdb.c",
"main.c",
"manpath.c",
"mdoc_man.c",
"mdoc_markdown.c",
"out.c",
"tree.c",
mandoc_html_files.@"0",
mandoc_html_files.@"1",
mandoc_html_files.@"2",
} });
Edit: the mandoc_html_files is a struct, not slice.
const mandoc_html_files = .{
"eqn_html.c",
"html.c",
"man_html.c",
"mdoc_html.c",
"roff_html.c",
"tbl_html.c",
};