Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/bun_core/env_var.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ new!(pub NODE_DISABLE_COMPILE_CACHE: string, "NODE_DISABLE_COMPILE_CACHE", {});
// child's CLI entrypoint checks this before anything else and hands off to
// C++ Bun__WebView__hostMain. Never returns — no JSC, no VM.
new!(pub BUN_INTERNAL_WEBVIEW_HOST: string, "BUN_INTERNAL_WEBVIEW_HOST", {});
// Space-separated CLI flags, tokenized and allowlist-filtered into argv by
// `node_options::filter` (see `util::argv_view_init`).
Comment thread
robobun marked this conversation as resolved.
Resolved
new!(pub NODE_OPTIONS: string, "NODE_OPTIONS", {});
new!(pub NODE_PENDING_DEPRECATION: string, "NODE_PENDING_DEPRECATION", {});
new!(pub NODE_PRESERVE_SYMLINKS_MAIN: boolean, "NODE_PRESERVE_SYMLINKS_MAIN", { default: false });
new!(pub NODE_USE_SYSTEM_CA: boolean, "NODE_USE_SYSTEM_CA", { default: false });
Expand Down
1 change: 1 addition & 0 deletions src/bun_core/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ pub mod os {
pub mod deprecated;
pub mod env_var;
pub mod feature_flags;
pub mod node_options;

/// Tier-0 path-separator predicates. Sunk from `bun_paths` so `bun_core::util`
/// (dirname, which) can use them without an upward dep. `bun_paths` re-exports
Expand Down
Loading
Loading