Skip to content

Commit c2f593c

Browse files
iamsauravsharmaAndronik Ordian
authored andcommitted
[parity-util-mem] migrate code to 2018 edition (#231)
* Update to 2018 edition for parity-util-mem Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com> * update missing use statement Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com> * add no_std to ci and use a rstd alias. * Remove 2 files from parity-util-mem Signed-off-by: Saurav Sharma <appdroiddeveloper@gmail.com>
1 parent b2781fa commit c2f593c

File tree

8 files changed

+34
-804
lines changed

8 files changed

+34
-804
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ script:
3333
- cd parity-util-mem/ && cargo test --features=estimate-heapsize && cd ..
3434
- cd parity-util-mem/ && cargo test --features=jemalloc-global && cd ..
3535
- cd parity-util-mem/ && cargo test --features=mimalloc-global && cd ..
36+
- cd parity-util-mem/ && cargo test --no-default-features --features=dlmalloc-global && cd ..
3637
- cd rlp/ && cargo test --no-default-features && cargo check --benches && cd ..
3738
- cd triehash/ && cargo check --benches && cd ..
3839
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then

parity-util-mem/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
55
repository = "https://github.com/paritytech/parity-common"
66
description = "Collection of memory related utilities"
77
license = "GPL-3.0"
8+
edition = "2018"
89

910
[dependencies]
1011
cfg-if = "0.1.6"

parity-util-mem/get_malloc_size_src.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)