mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
fix newer deno.land builds
This commit is contained in:
parent
ff5b6df07f
commit
38be359c68
2 changed files with 17 additions and 0 deletions
|
@ -30,6 +30,10 @@ build:
|
|||
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
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv target/release/deno "{{ prefix }}"/bin
|
||||
|
|
13
projects/deno.land/unzip_option_feature.diff
Normal file
13
projects/deno.land/unzip_option_feature.diff
Normal 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;
|
Loading…
Reference in a new issue