Skip to content

Commit 199a356

Browse files
Fix Rust target detection
1 parent 4893953 commit 199a356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dc/wireshark/generate-bindings.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ OPTIONS=(
7979

8080
mkdir -p src/wireshark_sys/
8181

82-
RUST_TARGET=$(rustup show | awk 'NF' | awk 'END{print $2}')
82+
RUST_TARGET=$(rustc -vV | grep host: | awk '{ print $2 }')
8383

8484
# This list is filtered to roughly what our current usage requires.
8585
# It's possible there's a better way to do this -- some of the Wireshark

0 commit comments

Comments
 (0)