Skip to content

Commit 5303a74

Browse files
Rollup merge of #153128 - mu001999-contrib:fix/features, r=joboet
Recover feature lang_items for emscripten Fixes #152469 (comment)
2 parents 0c012c7 + d79efc5 commit 5303a74

File tree

1 file changed

+1
-0
lines changed
  • library/panic_unwind/src

1 file changed

+1
-0
lines changed

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)