From d447f7cc972c7995d8f4589c2ee0d15175600118 Mon Sep 17 00:00:00 2001 From: Tadeo hepperle Date: Wed, 14 Feb 2024 15:57:23 +0100 Subject: [PATCH] remove libc and add small readme with test instructions --- testing/no-std-tests/Cargo.lock | 1 - testing/no-std-tests/Cargo.toml | 1 - testing/no-std-tests/README.md | 7 +++++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 testing/no-std-tests/README.md diff --git a/testing/no-std-tests/Cargo.lock b/testing/no-std-tests/Cargo.lock index 277d009358..ee4afadfe7 100644 --- a/testing/no-std-tests/Cargo.lock +++ b/testing/no-std-tests/Cargo.lock @@ -361,7 +361,6 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" name = "subxt-core-no-std-tests" version = "0.0.0" dependencies = [ - "libc", "libc_alloc", "parity-scale-codec", "subxt-metadata", diff --git a/testing/no-std-tests/Cargo.toml b/testing/no-std-tests/Cargo.toml index 29a4bca242..503326d5b5 100644 --- a/testing/no-std-tests/Cargo.toml +++ b/testing/no-std-tests/Cargo.toml @@ -8,7 +8,6 @@ resolver = "2" [dependencies] subxt-metadata = { path = "../../metadata", default-features = false } codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false, features = ["derive"] } -libc = { version = "0.2", default-features = false } libc_alloc = { version = "1.0.6" } [profile.dev] diff --git a/testing/no-std-tests/README.md b/testing/no-std-tests/README.md new file mode 100644 index 0000000000..2b662bb455 --- /dev/null +++ b/testing/no-std-tests/README.md @@ -0,0 +1,7 @@ +# No-Std Testing Crate + +To test the no-std compatibility of various subxt-* crates, please run: + +```bash +cargo build --target thumbv7em-none-eabi +``` \ No newline at end of file