diff options
| author | gingerBill <bill@gingerbill.org> | 2021-10-12 11:06:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-10-12 11:06:39 +0100 |
| commit | 2ad6aa7886e1f0fa3e531b67d03f803a61b1ca03 (patch) | |
| tree | 62c06bdc9252ee5f7c06a912200ee8e0a08a2024 /src/build_settings.cpp | |
| parent | 75e3df6da2c9a1b503093f7fa393c9cf95c379ca (diff) | |
Copying file contents rather than memory mapping
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 22853d6cc..69e1ec5f0 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -222,6 +222,8 @@ struct BuildContext { bool threaded_checker; bool show_debug_messages; + + bool copy_file_contents; u32 cmd_doc_flags; Array<String> extra_packages; @@ -771,6 +773,8 @@ void init_build_context(TargetMetrics *cross_target) { bc->ODIN_VENDOR = str_lit("odin"); bc->ODIN_VERSION = ODIN_VERSION; bc->ODIN_ROOT = odin_root_dir(); + + bc->copy_file_contents = true; TargetMetrics *metrics = nullptr; |