File tree 2 files changed +0
-24
lines changed
2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 44
44
shadowsocks_version="$(git describe --tags `git rev-list --tags --max-count=1`)"
45
45
echo shadowsocks_version="$shadowsocks_version" >> "$GITHUB_ENV"
46
46
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
55
47
cd ..
56
48
[ "${{ matrix.target }}" = "mips-unknown-linux-musl" ] && target=mips || target=mipsel
57
49
export $(echo "CARGO_TARGET_$(echo "$target" | tr '[:lower:]' '[:upper:]')_UNKNOWN_LINUX_MUSL_LINKER"="$target-openwrt-linux-musl-gcc")
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments