mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 19:08:50 +00:00
Split bundler up into multiple files (#20192)
This commit is contained in:
@@ -30,7 +30,7 @@ pub const show_crash_trace = isDebug or isTest or enable_asan;
|
||||
/// All calls to `@export` should be gated behind this check, so that code
|
||||
/// generators that compile Zig code know not to reference and compile a ton of
|
||||
/// unused code.
|
||||
pub const export_cpp_apis = @import("builtin").output_mode == .Obj or isTest;
|
||||
pub const export_cpp_apis = if (build_options.override_no_export_cpp_apis) false else (@import("builtin").output_mode == .Obj or isTest);
|
||||
|
||||
pub const build_options = @import("build_options");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user