Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing no_std cfg_attr
  • Loading branch information
ascjones committed Sep 9, 2022
commit 6dd4cfe1e5de6c8378e9876bdbb5db5b0d8f50cc
1 change: 1 addition & 0 deletions crates/storage/traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ default = ["std"]
std = [
"ink_metadata/std",
"ink_primitives/std",
"ink_prelude/std",
"scale/std",
"scale-info/std",
]
2 changes: 2 additions & 0 deletions crates/storage/traits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
//! If at least one of the type's fields occupies its own separate storage cell, it is a
//! non-[`Packed`] type because it occupies more than one storage cell.

#![cfg_attr(not(feature = "std"), no_std)]

mod impls;
mod storage;

Expand Down