| ... | ... | @@ -1886,7 +1886,7 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil |
| 1886 | 1886 | try comp.queueJob(.libcxx); |
| 1887 | 1887 | try comp.queueJob(.libcxxabi); |
| 1888 | 1888 | } |
| 1889 | | if (build_options.have_llvm and comp.config.any_sanitize_thread) { |
| 1889 | if (build_options.have_llvm and is_exe_or_dyn_lib and comp.config.any_sanitize_thread) { |
| 1890 | 1890 | try comp.queueJob(.libtsan); |
| 1891 | 1891 | } |
| 1892 | 1892 | |
| ... | ... | @@ -1914,11 +1914,9 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil |
| 1914 | 1914 | } |
| 1915 | 1915 | } |
| 1916 | 1916 | |
| 1917 | | if (comp.config.any_fuzz and capable_of_building_compiler_rt) { |
| 1918 | | if (is_exe_or_dyn_lib) { |
| 1919 | | log.debug("queuing a job to build libfuzzer", .{}); |
| 1920 | | comp.job_queued_fuzzer_lib = true; |
| 1921 | | } |
| 1917 | if (is_exe_or_dyn_lib and comp.config.any_fuzz and capable_of_building_compiler_rt) { |
| 1918 | log.debug("queuing a job to build libfuzzer", .{}); |
| 1919 | comp.job_queued_fuzzer_lib = true; |
| 1922 | 1920 | } |
| 1923 | 1921 | } |
| 1924 | 1922 | |