From 85431e9adf6f4c78bd10db980f8600612e60a28f Mon Sep 17 00:00:00 2001 From: Sergei Pepyakin <sergei@parity.io> Date: Sat, 28 Sep 2019 13:14:28 +0200 Subject: [PATCH] Add a comment on the features. (#3714) --- substrate/core/sr-io/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/substrate/core/sr-io/Cargo.toml b/substrate/core/sr-io/Cargo.toml index a529c1e757b..08a526f4e6a 100644 --- a/substrate/core/sr-io/Cargo.toml +++ b/substrate/core/sr-io/Cargo.toml @@ -37,5 +37,10 @@ std = [ ] nightly = [] strict = [] + +# These two features are used for `no_std` builds for the environments which already provides +# `#[panic_handler]` and `#[alloc_error_handler]`. +# +# For the regular wasm runtime builds those are not used. no_panic_handler = [] no_oom = [] -- GitLab