Skip to content

Commit 4772782

Browse files
compiler: use FramePointer::NonLeaf on illumos
1 parent 15825b7 commit 4772782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/base/illumos.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ pub(crate) fn opts() -> TargetOptions {
3232
is_like_solaris: true,
3333
linker_flavor: LinkerFlavor::Unix(Cc::Yes),
3434
limit_rdylib_exports: false, // Linker doesn't support this
35-
frame_pointer: FramePointer::Always,
35+
// required by illumos tooling
36+
frame_pointer: FramePointer::NonLeaf,
3637
eh_frame_header: false,
3738
late_link_args,
3839

0 commit comments

Comments
 (0)