From 96f9ad9893cf09360ea5b328dbab84276d444ae1 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Tue, 28 Jan 2025 16:21:24 +0800 Subject: [PATCH] remove stabilized nll, static_nobundle flags --- src/libunwind/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libunwind/lib.rs b/src/libunwind/lib.rs index 8fa5db2..81b037d 100644 --- a/src/libunwind/lib.rs +++ b/src/libunwind/lib.rs @@ -1,8 +1,6 @@ #![no_std] #![feature(link_cfg)] -#![feature(nll)] #![feature(c_unwind)] -#![feature(static_nobundle)] #![cfg_attr(not(target_env = "msvc"), feature(libc))] cfg_if::cfg_if! { @@ -24,7 +22,7 @@ cfg_if::cfg_if! { extern "C" {} #[cfg(target_os = "redox")] -#[link(name = "gcc_eh", kind = "static-nobundle", cfg(target_feature = "crt-static"))] +#[link(name = "gcc_eh", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))] #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))] extern "C" {}