mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Reported by: mikael Obtained from: https://cgit.freebsd.org/ports/commit/?id=2ea9b7459046eac3f7f3fcd7515cb0fb0340fccb
12 lines
398 B
Text
12 lines
398 B
Text
--- build/rust/rust_macro.gni.orig 2025-05-20 09:16:26 UTC
|
|
+++ 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
|
|
}
|
|
}
|
|
|