--- build/modules/BUILD.gn.orig 2026-07-01 06:24:19 UTC +++ build/modules/BUILD.gn @@ -223,7 +223,7 @@ if (use_unified_system_module) { # otherwise. "--append-module=std.new:export new_h\\nexport vcruntime_exception", ] - } else { + } else if (!is_bsd) { # We need to pass the sysroot in so that it can scan it to generate a # modulemap for the sysroot headers. args += [