diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-06-14 18:18:43 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-06-14 18:18:43 -0400 |
| commit | 362c79140fc0638b0f85ed9b2a49f3fead14bb9b (patch) | |
| tree | 954dcc2d07212a3f9cdf35930fb5ff9dd0b1402e /src/main.cpp | |
| parent | f8f054b354088eb9e76d9207972022bc1d3dfc28 (diff) | |
| download | zig-362c79140fc0638b0f85ed9b2a49f3fead14bb9b.tar.gz zig-362c79140fc0638b0f85ed9b2a49f3fead14bb9b.zip | |
expose builtin.strip_debug_info
zig code now can be made aware that it will not have any debug
information available at runtime.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 29c17212cf..9c14ba3250 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -954,6 +954,7 @@ int main(int argc, char **argv) { case CmdBuiltin: { CodeGen *g = codegen_create(main_pkg_path, nullptr, &target, out_type, build_mode, override_lib_dir, override_std_dir, nullptr, nullptr); + codegen_set_strip(g, strip); g->subsystem = subsystem; g->valgrind_support = valgrind_support; g->want_pic = want_pic; |
