Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 49b78bb

Browse files
committedFeb 25, 2025
Revert changes for rtstartup
1 parent 71ff055 commit 49b78bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎library/rtstartup/rsbegin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
4949
// enumerating currently loaded modules via the dl_iterate_phdr() API and
5050
// finding their ".eh_frame" sections); Others, like Windows, require modules
5151
// to actively register their unwind info sections via unwinder API.
52-
#[cfg(all(any(target_os = "cygwin", all(target_os = "windows", target_env = "gnu")), target_arch = "x86"))]
52+
#[cfg(all(target_os = "windows", target_arch = "x86", target_env = "gnu"))]
5353
pub mod eh_frames {
5454
#[no_mangle]
5555
#[unsafe(link_section = ".eh_frame")]

‎library/rtstartup/rsend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
2727
drop_in_place(to_drop);
2828
}
2929

30-
#[cfg(all(any(target_os = "cygwin", all(target_os = "windows", target_env = "gnu")), target_arch = "x86"))]
30+
#[cfg(all(target_os = "windows", target_arch = "x86", target_env = "gnu"))]
3131
pub mod eh_frames {
3232
// Terminate the frame unwind info section with a 0 as a sentinel;
3333
// this would be the 'length' field in a real FDE.

0 commit comments

Comments
 (0)
Please sign in to comment.