Skip to content

Commit

Permalink
build: remove workaround for cargo cross netbsd issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Oct 21, 2023
1 parent 695af32 commit 50ea188
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,3 @@ windows = { version = "0.44.0", features = [
"Win32_UI_Shell_PropertiesSystem",
] }
scopeguard = "1.2.0"

# workaround for https://github.com/cross-rs/cross/issues/1345
[package.metadata.cross.target.x86_64-unknown-netbsd]
pre-build = [
"mkdir -p /tmp/netbsd",
"curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
"tar -C /tmp/netbsd -xJf base.tar.xz",
"cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
"rm base.tar.xz",
"rm -rf /tmp/netbsd",
]

0 comments on commit 50ea188

Please sign in to comment.