Skip to content

Commit

Permalink
fix: try fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
4o3F committed Oct 6, 2024
1 parent c5e9ad4 commit 8c609af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+crt-static"]
# [target.x86_64-unknown-linux-gnu]
# rustflags = ["-C", "linker=clang", "-C", "target-feature=+crt-static"]
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if [[ "$os_family" == "Windows" ]]; then
export OPENCV_MSVC_CRT="static"
cargo build --release
elif [[ "$os_family" == "Linux" ]]; then
cargo build --release --target x86_64-unknown-linux-gnu
cargo build --release
else
cargo build --release
fi

0 comments on commit 8c609af

Please sign in to comment.