Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion scripts/build/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,6 @@ export function bunExeName(cfg: Config): string {
if (cfg.debug) return "bun-debug";
// Release variants — suffix encodes which features differ from plain release.
// First match wins.
if (cfg.asan && cfg.valgrind) return "bun-asan-valgrind";
if (cfg.asan) return "bun-asan";
if (cfg.valgrind) return "bun-valgrind";
if (cfg.assertions) return "bun-assertions";
Expand Down
1 change: 0 additions & 1 deletion src/boringssl_sys/boringssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,6 @@ unsafe extern "C" {
sid_ctx: *const u8,
sid_ctx_len: usize,
) -> c_int;
pub fn SSL_set0_verify_cert_store(ssl: *mut SSL, store: *mut X509_STORE) -> c_int;
pub fn SSL_set_renegotiate_mode(ssl: *mut SSL, mode: ssl_renegotiate_mode_t);
pub fn SSL_renegotiate(ssl: *mut SSL) -> c_int;
pub fn SSL_get_servername(ssl: *const SSL, ty: c_int) -> *const c_char;
Expand Down
1 change: 0 additions & 1 deletion src/css_jsc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ path = "lib.rs"
workspace = true

[dependencies]
bstr.workspace = true
bun_alloc.workspace = true
bun_core.workspace = true
bun_css.workspace = true
Expand Down
15 changes: 0 additions & 15 deletions src/format/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,6 @@ impl Difference {
}
}

impl std::fmt::Display for Difference {
#[optimize(size)]
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(
f,
"{}: `{}` at {} is `{}` at {}",
self.what,
bstr::BStr::new(&self.before.1),
self.before.0,
bstr::BStr::new(&self.after.1),
self.after.0
)
}
}

/// True if the text of template `e` may be formatted as CSS, GraphQL, HTML or Markdown.
#[optimize(size)]
pub(crate) fn is_in_another_language(e: Expr<'_>) -> bool {
Expand Down
2 changes: 0 additions & 2 deletions src/runtime/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,6 @@ pub(crate) use bun_install::PRETEND_TO_BE_NODE;
/// This is set `true` during `Command.which()` if argv0 is "bunx"
static IS_BUNX_EXE: core::sync::atomic::AtomicBool = core::sync::atomic::AtomicBool::new(false);

bun_core::declare_scope!(CLI, hidden);

pub(crate) type LoaderColonList =
colon_list_type::ColonListType<bun_options_types::schema::api::Loader>;
pub(crate) type DefineColonList = colon_list_type::ColonListType<&'static [u8]>;
Expand Down
1 change: 0 additions & 1 deletion src/runtime/node/win_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const on_path_update_fn: fn(Option<*mut c_void>, Event, bool) = FSWatcher::ON_PA
#[allow(non_upper_case_globals)]
const on_update_end_fn: fn(Option<*mut c_void>) = FSWatcher::on_update_end;

bun_output::declare_scope!(PathWatcherManager, visible);
// Rust identifiers cannot contain '.', so
// the static is declared by hand (instead of via `declare_scope!`) with the
// tag string, keeping `BUN_DEBUG_fs.watch` env matching and the
Expand Down
1 change: 0 additions & 1 deletion src/spawn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ scopeguard.workspace = true
bun_analytics.workspace = true
bun_dispatch.workspace = true
bun_core.workspace = true
bun_crash_handler.workspace = true
bun_event_loop.workspace = true
bun_io.workspace = true
bun_output.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions src/spawn/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
//! `sync::spawn` were MOVED DOWN here from `bun_runtime::api::bun::process`;
//! `bun_runtime` re-exports them. The only non-leaf dependencies are
//! `bun_io` (`FilePoll`/`KeepAlive`/`EventLoopCtx`), `bun_ptr`
//! (`ThreadSafeRefCount`), `bun_io` (`BufferedWriter`), `bun_event_loop`,
//! `bun_threading`, and `bun_crash_handler` — none of which depend back on
//! (`ThreadSafeRefCount`), `bun_io` (`BufferedWriter`), `bun_event_loop`, and
//! `bun_threading` — none of which depend back on
Comment thread
robobun marked this conversation as resolved.
Resolved
//! this crate, so no cycle.

// ──────────────────────────────────────────────────────────────────────────
Expand Down
11 changes: 0 additions & 11 deletions src/sys/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,12 +1199,6 @@ pub mod O {
pub const EVTONLY: i32 = libc::O_EVTONLY;
#[cfg(not(target_os = "macos"))]
pub const EVTONLY: i32 = 0;
// Darwin-only: fail with ELOOP if *any* path component is a symlink, not
// just the final one like O_NOFOLLOW. 0 elsewhere so the bit-or is a no-op.
#[cfg(target_os = "macos")]
pub const NOFOLLOW_ANY: i32 = libc::O_NOFOLLOW_ANY;
#[cfg(not(target_os = "macos"))]
pub const NOFOLLOW_ANY: i32 = 0;
}
// ──────────────────────────────────────────────────────────────────────────
// `File` / `Dir` — high-level handles. Extracted to file.rs / dir.rs.
Expand Down Expand Up @@ -8074,11 +8068,6 @@ pub mod posix {
pub const fn s_islnk(m: u32) -> bool {
(m & libc::S_IFMT as u32) == libc::S_IFLNK as u32
}
#[cfg(unix)]
#[inline]
pub const fn s_isdir(m: u32) -> bool {
(m & libc::S_IFMT as u32) == libc::S_IFDIR as u32
}

// ── signals ──
#[cfg(unix)]
Expand Down
Loading