| author | |
| committer | |
| log | b83b161f4b2102e8f10ab84f1c99def352554dd2 |
| tree | e7e77b3710109d0c969f8fd9ddf300250cd0feaf |
| parent | 3aa802090436a1882fc2093cf0ff8e906340bfcb |
| signature |
Will be needed for the future commit with the new API where artifacts
are created from the pre-existing module.1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/Build/Step/TranslateC.zig+3| ... | ... | @@ -81,6 +81,9 @@ pub fn addExecutable(translate_c: *TranslateC, options: AddExecutableOptions) *S |
| 81 | 81 | pub fn addModule(translate_c: *TranslateC, name: []const u8) *std.Build.Module { |
| 82 | 82 | return translate_c.step.owner.addModule(name, .{ |
| 83 | 83 | .root_source_file = translate_c.getOutput(), |
| 84 | .target = translate_c.target, | |
| 85 | .optimize = translate_c.optimize, | |
| 86 | .link_libc = translate_c.link_libc, | |
| 84 | 87 | }); |
| 85 | 88 | } |
| 86 | 89 |