Fix the unwind-sys build on latest Fedora (#30906)

The libunwind library version installed includes an rc number. The
latest released version of the `unwind-sys` crate doesn't handle this
properly, so rely on the latest commit in the upstream repository.
This commit is contained in:
Martin Robinson 2023-12-21 15:37:00 +01:00 committed by GitHub
parent a9bf29cf8a
commit d007d265bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -29,4 +29,6 @@ mach = "0.3"
[target.'cfg(all(target_os = "linux", not(any(target_arch = "arm", target_arch = "aarch64"))))'.dependencies]
nix = "0.25"
unwind-sys = "0.1.1"
# There's a bug in 0.1.3 that prevent proper compilation against rc revisions
# of libunwind. Depend on the git repository version until 0.1.4 is released.
unwind-sys = { git = "https://github.com/sfackler/rstack", rev = "bd0f3ec" }