| ... | ... | @@ -958,6 +958,9 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 958 | 958 | var build_args = std.ArrayList([]const u8).init(allocator); |
| 959 | 959 | defer build_args.deinit(); |
| 960 | 960 | |
| 961 | const name_plus_h_ext = try std.fmt.allocPrint(allocator, "{}.h", code.name); |
| 962 | const output_h_file_name = try os.path.join(allocator, tmp_dir_name, name_plus_h_ext); |
| 963 | |
| 961 | 964 | try build_args.appendSlice([][]const u8{ |
| 962 | 965 | zig_exe, |
| 963 | 966 | "build-obj", |
| ... | ... | @@ -966,6 +969,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var |
| 966 | 969 | "on", |
| 967 | 970 | "--output", |
| 968 | 971 | tmp_obj_file_name, |
| 972 | "--output-h", |
| 973 | output_h_file_name, |
| 969 | 974 | }); |
| 970 | 975 | |
| 971 | 976 | if (!code.is_inline) { |