Skip to content

Commit 87d7959

Browse files
committed
drop getrandom patch
Signed-off-by: sbwml <admin@cooluc.com>
1 parent c424785 commit 87d7959

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

.github/workflows/build-release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ jobs:
4444
shadowsocks_version="$(git describe --tags `git rev-list --tags --max-count=1`)"
4545
echo shadowsocks_version="$shadowsocks_version" >> "$GITHUB_ENV"
4646
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
47-
# getrandom local
48-
echo '[patch.crates-io]' >> Cargo.toml
49-
echo 'getrandom = { path = "../getrandom", version = "0.3" }' >> Cargo.toml
50-
cd ..
51-
# patch getrandom
52-
git clone https://github.com/rust-random/getrandom -b v$(grep -oP 'getrandom \d+\.3.\d+' shadowsocks-rust/Cargo.lock | head -1 | awk '{print $2}')
53-
cd getrandom
54-
patch -p1 < ../patches/getrandom-0.3-musl.patch
5547
cd ..
5648
[ "${{ matrix.target }}" = "mips-unknown-linux-musl" ] && target=mips || target=mipsel
5749
export $(echo "CARGO_TARGET_$(echo "$target" | tr '[:lower:]' '[:upper:]')_UNKNOWN_LINUX_MUSL_LINKER"="$target-openwrt-linux-musl-gcc")

patches/getrandom-0.3-musl.patch

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)