Path: blob/main/lang/bun/files/patch-scripts_build_deps_lolhtml.ts
49052 views
-- Disable nightly features and -Zbuild-std for lolhtml as FreeBSD ports use stable Rust.12--- scripts/build/deps/lolhtml.ts.orig 2026-05-14 00:17:32 UTC3+++ scripts/build/deps/lolhtml.ts4@@ -67,7 +67,7 @@ export const lolhtml: Dependency = {56// FreeBSD aarch64 is Tier 3 — no prebuilt std, so -Zbuild-std is7// required regardless of release/debug.8- if (cfg.freebsd && cfg.arm64) {9+ if (false && cfg.freebsd && cfg.arm64) {10spec.buildStd = true;11}1213@@ -80,7 +80,7 @@ export const lolhtml: Dependency = {14// (linux-gnu, darwin, freebsd). musl/android keep the prebuilt-std15// -Cpanic=abort path.16const canBuildStdImmediateAbort =17- cfg.darwin || cfg.freebsd || (cfg.linux && cfg.abi !== "musl" && cfg.abi !== "android");18+ cfg.darwin || (false && cfg.freebsd) || (cfg.linux && cfg.abi !== "musl" && cfg.abi !== "android");19if (cfg.release && canBuildStdImmediateAbort) {20spec.buildStd = true;21spec.rustflags = [222324