Skip to content

Commit 1963be1

Browse files
authored
Rollup merge of rust-lang#153128 - mu001999-contrib:fix/features, r=joboet
Recover feature lang_items for emscripten Fixes rust-lang#152469 (comment)
2 parents baa3a6c + d79efc5 commit 1963be1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • library/panic_unwind/src

library/panic_unwind/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +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)]
1718
#![feature(cfg_emscripten_wasm_eh)]
1819
#![feature(core_intrinsics)]
1920
#![feature(panic_unwind)]

0 commit comments

Comments
 (0)