mirror of
https://github.com/ziglang/zig.git
synced 2026-02-02 12:43:40 +00:00
Pass target_details to child CodeGens
This commit is contained in:
parent
430077df1b
commit
c15623428e
@ -10661,6 +10661,7 @@ CodeGen *create_child_codegen(CodeGen *parent_gen, Buf *root_src_path, OutType o
|
||||
|
||||
CodeGen *child_gen = codegen_create(nullptr, root_src_path, parent_gen->zig_target, out_type,
|
||||
parent_gen->build_mode, parent_gen->zig_lib_dir, libc, get_global_cache_dir(), false, child_progress_node);
|
||||
child_gen->target_details = parent_gen->target_details;
|
||||
child_gen->root_out_name = buf_create_from_str(name);
|
||||
child_gen->disable_gen_h = true;
|
||||
child_gen->want_stack_check = WantStackCheckDisabled;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user