| ... | @@ -8815,7 +8815,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) { | ... | @@ -8815,7 +8815,7 @@ Buf *codegen_generate_builtin_source(CodeGen *g) { |
| 8815 | buf_append_str(contents, "/// Deprecated: use `std.Target.current.cpu.arch.endian()`\n"); | 8815 | buf_append_str(contents, "/// Deprecated: use `std.Target.current.cpu.arch.endian()`\n"); |
| 8816 | buf_append_str(contents, "pub const endian = Target.current.cpu.arch.endian();\n"); | 8816 | buf_append_str(contents, "pub const endian = Target.current.cpu.arch.endian();\n"); |
| 8817 | buf_appendf(contents, "pub const output_mode = OutputMode.Obj;\n"); | 8817 | buf_appendf(contents, "pub const output_mode = OutputMode.Obj;\n"); |
| 8818 | buf_appendf(contents, "pub const link_mode = LinkMode.Static;\n"); | 8818 | buf_appendf(contents, "pub const link_mode = LinkMode.%s;\n", ZIG_LINK_MODE); |
| 8819 | buf_appendf(contents, "pub const is_test = false;\n"); | 8819 | buf_appendf(contents, "pub const is_test = false;\n"); |
| 8820 | buf_appendf(contents, "pub const single_threaded = %s;\n", bool_to_str(g->is_single_threaded)); | 8820 | buf_appendf(contents, "pub const single_threaded = %s;\n", bool_to_str(g->is_single_threaded)); |
| 8821 | buf_appendf(contents, "pub const abi = Abi.%s;\n", cur_abi); | 8821 | buf_appendf(contents, "pub const abi = Abi.%s;\n", cur_abi); |