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
13 lines
463 B
Text
13 lines
463 B
Text
--- build/rust/rust_target.gni.orig 2024-10-18 12:33:59 UTC
|
|
+++ build/rust/rust_target.gni
|
|
@@ -307,6 +307,10 @@ template("rust_target") {
|
|
_rust_deps += [ "//build/rust/std" ]
|
|
}
|
|
|
|
+ if (!defined(invoker.no_allocator_crate) || !invoker.no_allocator_crate) {
|
|
+ _rust_deps += [ "//build/rust/allocator" ]
|
|
+ }
|
|
+
|
|
if (_build_unit_tests) {
|
|
_unit_test_target = "${_target_name}_unittests"
|
|
if (defined(invoker.unit_test_target)) {
|