Skip to content

Commit

Permalink
No need to strip debug info on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Jun 8, 2022
1 parent 46aaccb commit c8a07a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
rust_version: [""]
include:
- platform: "ubuntu-latest"
rust_version: "${RUST_VERSION}"
rust_version: "${{ RUST_VERSION }}"
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion ffi-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if [[ "$fix_macos_rpath" -eq 1 ]]; then
fi

# objcopy might not be available on macOS
if command -v objcopy > /dev/null; then
if command -v objcopy > /dev/null && [[ "$target" != "x86_64-pc-windows-msvc" ]] then
# Remove .llvmbc section which is not useful for clients
objcopy --remove-section .llvmbc "$destdir/lib/${static_library_name}"

Expand Down

0 comments on commit c8a07a5

Please sign in to comment.