Skip to content

Commit

Permalink
Disable std by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelang authored and axic committed Feb 14, 2019
1 parent dea1323 commit 211a123
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ repository = "https://github.com/ewasm/ewasm-rust-api"
description = "ewasm API for Rust"

[features]
default = [ "std" ]
default = []
std = []
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg_attr(not(feature = "std"), no_std)]

/// ewasm_api is a library used to interface with Ethereum's EEI in Ewasm, a set of enhancements to
/// the Ethereum smart contract platform.
/// ewasm_api exposes both a set of unsafe "native" functions representing the actual EEI
Expand Down

0 comments on commit 211a123

Please sign in to comment.