Skip to content

Commit

Permalink
Rollup merge of #104464 - mati865:reduce-eh-overallocation-amd64, r=t…
Browse files Browse the repository at this point in the history
…homcc

Reduce exceptions overallocation on non Windows x86_64

Addressing #103894 (comment)
  • Loading branch information
Dylan-DPC authored Nov 22, 2022
2 parents 680ba90 + 10d0f14 commit 20d6a44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/unwind/src/libunwind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ pub type _Unwind_Trace_Fn =
#[cfg(target_arch = "x86")]
pub const unwinder_private_data_size: usize = 5;

#[cfg(target_arch = "x86_64")]
#[cfg(all(target_arch = "x86_64", not(target_os = "windows")))]
pub const unwinder_private_data_size: usize = 2;

#[cfg(all(target_arch = "x86_64", target_os = "windows"))]
pub const unwinder_private_data_size: usize = 6;

#[cfg(all(target_arch = "arm", not(any(target_os = "ios", target_os = "watchos"))))]
Expand Down

0 comments on commit 20d6a44

Please sign in to comment.