Rollup merge of #153255 - mu001999-contrib:fix/features, r=joboet

Recover feature lang_items for emscripten

Fixes https://github.com/rust-lang/rust/pull/152469#discussion_r2858304043

The previous https://github.com/rust-lang/rust/pull/153128 lacks of `feature`
This commit is contained in:
Jonathan Brouwer
2026-03-01 17:43:43 +01:00
committed by GitHub
+1 -1
View File
@@ -14,7 +14,7 @@
#![no_std]
#![unstable(feature = "panic_unwind", issue = "32837")]
#![doc(issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")]
#![cfg_attr(all(target_os = "emscripten", not(emscripten_wasm_eh)), lang_items)]
#![cfg_attr(all(target_os = "emscripten", not(emscripten_wasm_eh)), feature(lang_items))]
#![feature(cfg_emscripten_wasm_eh)]
#![feature(core_intrinsics)]
#![feature(panic_unwind)]