servo: aarch64 use system allocator

specifies component for feature
This commit is contained in:
supinie
2025-05-08 10:20:19 +01:00
parent 1cb1c02a6b
commit f9e97cc9be
+5
View File
@@ -132,6 +132,11 @@ rustPlatform.buildRustPackage {
apple-sdk_14
];
# Builds with additional features for aarch64, see https://github.com/servo/servo/issues/36819
buildFeatures = lib.optionals stdenv.hostPlatform.isAarch64 [
"servo_allocator/use-system-allocator"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
# copy resources into `$out` to be used during runtime