Skip to content

Commit 82187f7

Browse files
committed
Fix a feature directive
1 parent 83744e4 commit 82187f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#![doc(html_root_url = "https://docs.rs/backtrace")]
6666
#![deny(missing_docs)]
6767
#![no_std]
68-
#![cfg_attr(target_env = "sgx", feature(sgx_platform))]
68+
#![cfg_attr(all(feature = "std", target_env = "sgx"), feature(sgx_platform))]
6969
#![allow(bare_trait_objects)] // TODO: remove when updating to 2018 edition
7070
#![allow(rust_2018_idioms)] // TODO: remove when updating to 2018 edition
7171

0 commit comments

Comments
 (0)