diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-17 00:13:25 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-17 00:13:25 +0800 |
| commit | 0c9e0e33b4e54b84706e23032a99c9efcff0774c (patch) | |
| tree | 63d064f25a568f3f77d7da74a99b2e11d05d002c /src/test/incremental/thinlto | |
| parent | 098d80d44a7492040d6146832569f362b6279bfe (diff) | |
| parent | e0d8364dadd404a37bc344ef089926745cfdbe20 (diff) | |
| download | rust-0c9e0e33b4e54b84706e23032a99c9efcff0774c.tar.gz rust-0c9e0e33b4e54b84706e23032a99c9efcff0774c.zip | |
Rollup merge of #53377 - cuviper:pointer-elf_size, r=alexcrichton
std: Use target_pointer_width for BACKTRACE_ELF_SIZE
The former code used `target.contains("64")` to detect Elf64 targets,
but this is inaccurate in a few cases:
- `s390x-unknown-linux-gnu` is 64-bit
- `sparcv9-sun-solaris` is 64-bit
- `x86_64-unknown-linux-gnux32` is 32-bit
Instead the `std` build script can use `CARGO_CFG_TARGET_POINTER_WIDTH`
to reliably detect 64-bit targets for libbacktrace.
Also update to backtrace-sys 0.1.24 for alexcrichton/backtrace-rs#122.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
