Skip to content

Commit 9214e9b

Browse files
authored
Rollup merge of rust-lang#47246 - aidanhs:aphs-wasm-backtrace-feature, r=KodrAus
Make wasm obey backtrace feature, like other targets E.g. https://github.com/rust-lang/rust/blob/6828cf90146c7fefc4ba4f16dffe75f763f2d910/src/libstd/sys/unix/mod.rs#L40-L41
2 parents 1cbbbc0 + fd37526 commit 9214e9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/sys/wasm/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ use os::raw::c_char;
3939
const DEBUG: bool = false;
4040

4141
pub mod args;
42+
#[cfg(feature = "backtrace")]
4243
pub mod backtrace;
4344
pub mod cmath;
4445
pub mod condvar;

0 commit comments

Comments
 (0)