fix newer deno.land builds

This commit is contained in:
Jacob Heider 2023-01-26 19:23:00 -05:00 committed by Jacob Heider
parent ff5b6df07f
commit 38be359c68
2 changed files with 17 additions and 0 deletions

View file

@ -30,6 +30,10 @@ build:
fi fi
fi fi
# FIXME: until we unblock rust-lang.org>1.65.0, we need a feature flag
# to compile deno.land
git apply props/unzip_option_feature.diff
cargo build --release cargo build --release
mkdir -p "{{ prefix }}"/bin mkdir -p "{{ prefix }}"/bin
mv target/release/deno "{{ prefix }}"/bin mv target/release/deno "{{ prefix }}"/bin

View file

@ -0,0 +1,13 @@
diff -ru a/cli/main.rs b/cli/main.rs
--- a/cli/main.rs 2023-01-26 19:14:19
+++ b/cli/main.rs 2023-01-26 19:15:00
@@ -1,5 +1,9 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// tea::FIXME
+// remove this once rust-lang.org>1.65.0 is unblocked
+#![feature(unzip_option)]
+
mod args;
mod auth_tokens;
mod cache;