$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- build/rust/rust_macro.gni.orig 2025-02-24 19:59:26.000000000 +0000 +++ build/rust/rust_macro.gni @@ -16,6 +16,9 @@ template("rust_macro") { forward_variables_from(invoker, TESTONLY_AND_VISIBILITY) proc_macro_configs = invoker.configs target_type = "rust_proc_macro" + + # Macros are loaded by rustc and shouldn't use chrome's allocation routines. + no_allocator_crate = true } }