Skip to content

Commit f118cdd

Browse files
Rollup merge of rust-lang#153255 - mu001999-contrib:fix/features, r=joboet
Recover feature lang_items for emscripten Fixes rust-lang#152469 (comment) The previous rust-lang#153128 lacks of `feature`
2 parents 3bbbcba + 17ba37f commit f118cdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • library/panic_unwind/src

library/panic_unwind/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#![no_std]
1515
#![unstable(feature = "panic_unwind", issue = "32837")]
1616
#![doc(issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")]
17-
#![cfg_attr(all(target_os = "emscripten", not(emscripten_wasm_eh)), lang_items)]
17+
#![cfg_attr(all(target_os = "emscripten", not(emscripten_wasm_eh)), feature(lang_items))]
1818
#![feature(cfg_emscripten_wasm_eh)]
1919
#![feature(core_intrinsics)]
2020
#![feature(panic_unwind)]

0 commit comments

Comments
 (0)