Skip to content

Commit

Permalink
Merge pull request #37 from ikatson/refactor-split-up-torrent-state
Browse files Browse the repository at this point in the history
A ton of new features + huge refactor
  • Loading branch information
ikatson authored Nov 27, 2023
2 parents d4e2917 + 2e24925 commit f1e91d4
Show file tree
Hide file tree
Showing 54 changed files with 3,205 additions and 1,652 deletions.
6 changes: 5 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[target.arm-unknown-linux-gnueabihf]
rustflags = ["-l", "atomic"]
rustflags = ["-l", "atomic"]

[target.armv7-unknown-linux-gnueabihf]
# Workaround for: https://github.com/rust-lang/compiler-builtins/issues/420
rustflags = ["-C", "link-arg=-Wl,--allow-multiple-definition"]
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: install linux cross compiler
run:
brew tap messense/macos-cross-toolchains &&
brew install x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu arm-unknown-linux-gnueabihf
brew install x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu arm-unknown-linux-gnueabihf armv7-unknown-linux-gnueabihf

- name: Make a directory for output artifacts
run:
Expand All @@ -41,12 +41,18 @@ jobs:
make release-linux-x86_64 &&
mv target/x86_64-unknown-linux-gnu/release-github/rqbit target/artifacts/rqbit-linux-static-x86_64

- name: Build release linux arm32bit binary
- name: Build release linux armv6 binary
run:
rustup target install arm-unknown-linux-gnueabihf &&
make release-linux-armv6 &&
mv target/arm-unknown-linux-gnueabihf/release-github/rqbit target/artifacts/rqbit-linux-static-arm32

- name: Build release linux armv7 binary
run:
rustup target install armv7-unknown-linux-gnueabihf &&
make release-linux-armv7 &&
mv target/armv7-unknown-linux-gnueabihf/release-github/rqbit target/artifacts/rqbit-linux-static-arm32

- name: Build release linux aarch64 binary
run:
rustup target install aarch64-unknown-linux-gnu &&
Expand Down
Loading

0 comments on commit f1e91d4

Please sign in to comment.