diff options
| author | Aidan Hobson Sayers <aidanhs@cantab.net> | 2018-01-07 02:54:02 +0000 |
|---|---|---|
| committer | Aidan Hobson Sayers <aidanhs@cantab.net> | 2018-01-07 02:54:02 +0000 |
| commit | fd37526fa5046acdb2dbf573e815cc4c8b02cb78 (patch) | |
| tree | ebdab0ee6846cdbee2a67458bd3279992da19a92 /src/libstd/sys | |
| parent | 6828cf90146c7fefc4ba4f16dffe75f763f2d910 (diff) | |
| download | rust-fd37526fa5046acdb2dbf573e815cc4c8b02cb78.tar.gz rust-fd37526fa5046acdb2dbf573e815cc4c8b02cb78.zip | |
Make wasm obey backtrace feature, like other targets
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/wasm/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/wasm/mod.rs b/src/libstd/sys/wasm/mod.rs index b838dbafd6f..ba3d6a2813a 100644 --- a/src/libstd/sys/wasm/mod.rs +++ b/src/libstd/sys/wasm/mod.rs @@ -39,6 +39,7 @@ use os::raw::c_char; const DEBUG: bool = false; pub mod args; +#[cfg(feature = "backtrace")] pub mod backtrace; pub mod cmath; pub mod condvar; |
