mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
net-proxy/clash-rs: use upstream patch
Signed-off-by: jinqiang zhang <jinqiang@zhang.my>
This commit is contained in:
parent
ec248b5121
commit
03a640dfd7
@ -1,25 +1,13 @@
|
||||
From 20202495654806df0baf876412fbdb474c66abf9 Mon Sep 17 00:00:00 2001
|
||||
From: jinqiang zhang <jinqiang@zhang.my>
|
||||
Date: Sun, 2 Mar 2025 10:00:07 +0000
|
||||
Subject: [PATCH] fix unstable feature unbounded_shifts compile
|
||||
|
||||
https://github.com/microcai/gentoo-zh/issues/6264#issuecomment-2692637708
|
||||
---
|
||||
clash_lib/src/lib.rs | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/clash_lib/src/lib.rs b/clash_lib/src/lib.rs
|
||||
index ef4898b..64e4cab 100644
|
||||
index ef4898b..2652510 100644
|
||||
--- a/clash_lib/src/lib.rs
|
||||
+++ b/clash_lib/src/lib.rs
|
||||
@@ -1,6 +1,7 @@
|
||||
@@ -1,6 +1,8 @@
|
||||
+#![feature(cfg_version)]
|
||||
#![feature(ip)]
|
||||
#![feature(sync_unsafe_cell)]
|
||||
#![feature(let_chains)]
|
||||
+#![feature(unbounded_shifts)]
|
||||
+#![cfg_attr(not(version("1.86.0")), feature(unbounded_shifts))]
|
||||
|
||||
#[macro_use]
|
||||
extern crate anyhow;
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user