-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
107 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
rustflags = ["-C", "target-feature=+crt-static"] | ||
|
||
[target.aarch64-unknown-linux-gnu] | ||
rustflags = ["-C", "target-feature=+crt-static"] | ||
|
||
[target.riscv64gc-unknown-linux-gnu] | ||
rustflags = ["-C", "target-feature=+crt-static"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[workspace] | ||
members = ["bin"] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
authors = ["Zhiyi Weng"] | ||
version = "2.1.6" | ||
edition = "2021" | ||
description = "Fast WebSocket(s)/HTTP(s)/TCP relay proxy with WebRTC P2P supports." | ||
|
||
[patch.crates-io] | ||
webrtc = { git = "https://github.com/vyloy/webrtc.git", branch = "master" } | ||
rcgen = { git = "https://github.com/vyloy/rcgen.git", branch = "main" } | ||
x509-parser = { git = "https://github.com/vyloy/x509-parser.git", branch = "master" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
linux: | ||
cd ./cs && TARGET=aarch64-linux-gnu GOOS=linux GOARCH=arm64 make release_lib | ||
cd ./libcs && TARGET=aarch64-linux-gnu GOOS=linux GOARCH=arm64 make release_lib | ||
cargo build --target aarch64-unknown-linux-gnu -r | ||
cd ./cs && TARGET=x86_64-linux-gnu GOOS=linux GOARCH=amd64 make release_lib | ||
cargo build --target x86_64-unknown-linux-gnu -r | ||
cd ./cs && TARGET=riscv64-linux-gnu GOOS=linux GOARCH=riscv64 make release_lib | ||
cargo build --target riscv64gc-unknown-linux-gnu -r | ||
#cd ./libcs && TARGET=x86_64-linux-gnu GOOS=linux GOARCH=amd64 make release_lib | ||
#cargo build --target x86_64-unknown-linux-gnu -r | ||
#cd ./libcs && TARGET=riscv64-linux-gnu GOOS=linux GOARCH=riscv64 make release_lib | ||
# cargo build --target riscv64gc-unknown-linux-gnu -r | ||
|
||
mac: | ||
cd ./cs && TARGET=aarch64-apple-darwin GOOS=darwin GOARCH=arm64 arch -arch arm64 make release_lib | ||
cd ./libcs && TARGET=aarch64-apple-darwin GOOS=darwin GOARCH=arm64 arch -arch arm64 make release_lib | ||
cargo build --target aarch64-apple-darwin -r | ||
cd ./cs && TARGET=x86_64-apple-darwin GOOS=darwin GOARCH=amd64 arch -arch x86_64 make release_lib | ||
cargo build --target x86_64-apple-darwin -r | ||
#cd ./libcs && TARGET=x86_64-apple-darwin GOOS=darwin GOARCH=amd64 arch -arch x86_64 make release_lib | ||
#cargo build --target x86_64-apple-darwin -r |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.