From 6660537f754ddb0ca97c3b174425998bd796ca57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 5 Jan 2022 04:42:52 -0300 Subject: [PATCH] tree-sitter: cross build fails with Rust 1.57.0. Per [1], a default hash builder only exits for std builds. This is checked in [2], and that test is currently failing for us. We don't want to fix it with the environment variable, because the autocfg tests should be working. [1] https://github.com/bluss/indexmap/blob/0af3c466a7c69ff27bfd0024562260fde171d1be/src/map.rs#L70 [2] https://github.com/bluss/indexmap/blob/0af3c466a7c69ff27bfd0024562260fde171d1be/build.rs#L4 --- srcpkgs/tree-sitter/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template index 30104ca240..27f0c59e10 100644 --- a/srcpkgs/tree-sitter/template +++ b/srcpkgs/tree-sitter/template @@ -11,6 +11,7 @@ homepage="https://tree-sitter.github.io" distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz" checksum=2a0445f8172bbf83db005aedb4e893d394e2b7b33251badd3c94c2c5cc37c403 make_check=no # tests require generating fixtures from remote repositories +nocross=yes # fails with current rust post_build() { # Build libtree-sitter, since do_build builds the tree-sitter CLI.