Commit d5cb8dc
Update backtrace from 0.3.75 to 0.3.76
Summary:
Using a git dependency a few commits after 0.3.76 in order to pull in rust-lang/backtrace-rs#744, which fixes a build error on Windows when using `cfg(windows_raw_dylib)`.
```lang=log,counterexample
error[E0308]: mismatched types
--> third-party\rust\vendor\backtrace-0.3.76\src\dbghelp.rs:87:76
|
35 | / macro_rules! dbghelp {
36 | | (extern "system" {
37 | | $(fn $name:ident($($arg:ident: $argty:ty),*) -> $ret: ty;)*
38 | | }) => (
... |
87 | | let _: unsafe extern "C" fn($($argty),*) -> $ret = super::windows_sys::$name;
| | ----------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected "C" fn, found "system" fn
| | |
| | expected due to this
... |
126 | | }
| |_- in this expansion of `dbghelp!`
127 |
128 | / dbghelp! {
129 | | extern "system" {
130 | | fn SymGetOptions() -> u32;
131 | | fn SymSetOptions(options: u32) -> u32;
... |
223 | | }
| |_- in this macro invocation
|
= note: expected fn pointer `unsafe extern "C" fn(_, _) -> _`
found fn item `unsafe extern "system" fn(_, _) -> _ {windows_sys::SymAddrIncludeInlineTrace}`
```
Difference from 0.3.76:
rust-lang/backtrace-rs@backtrace-v0.3.76...df979dc
Context: https://fb.workplace.com/groups/learningrust/posts/4270473293223523
Reviewed By: cjlongoria
Differential Revision: D91645033
fbshipit-source-id: 5c7131a86b89090e9d72f2aa82b5d918065d029b1 parent cac90a9 commit d5cb8dc
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments