Skip to content

Commit 703aeee

Browse files
author
Tobias Kortkamp
authored
Update libbacktrace to latest master (#299)
* Update libbacktrace to latest master * Temporarily switch to t6/libbacktrace which has 5d4a5ff0d17040b5dd5dfaf2c3694b9a7b67b85d * Define HAVE_MACH_O_DYLD_H on macOS
1 parent d8951b7 commit 703aeee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "backtrace-sys/src/libbacktrace"]
22
path = crates/backtrace-sys/src/libbacktrace
3-
url = https://github.com/rust-lang-nursery/libbacktrace
3+
url = https://github.com/t6/libbacktrace

crates/backtrace-sys/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ fn main() {
4949

5050
if target.contains("darwin") {
5151
build.file("src/libbacktrace/macho.c");
52+
build.define("HAVE_MACH_O_DYLD_H", "1");
5253
} else if target.contains("windows") {
5354
build.file("src/libbacktrace/pecoff.c");
5455
} else {

0 commit comments

Comments
 (0)