remove stabilized nll, static_nobundle flags

This commit is contained in:
Simon Renblad 2025-01-28 16:21:24 +08:00
parent 59c0bb11c9
commit 96f9ad9893

View File

@ -1,8 +1,6 @@
#![no_std] #![no_std]
#![feature(link_cfg)] #![feature(link_cfg)]
#![feature(nll)]
#![feature(c_unwind)] #![feature(c_unwind)]
#![feature(static_nobundle)]
#![cfg_attr(not(target_env = "msvc"), feature(libc))] #![cfg_attr(not(target_env = "msvc"), feature(libc))]
cfg_if::cfg_if! { cfg_if::cfg_if! {
@ -24,7 +22,7 @@ cfg_if::cfg_if! {
extern "C" {} extern "C" {}
#[cfg(target_os = "redox")] #[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")))] #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
extern "C" {} extern "C" {}