Merge branch 'tadeohepperle/subxt-metadata-no-std' into tadeohepperle/subxt-core-2

This commit is contained in:
Tadeo hepperle
2024-02-14 16:03:17 +01:00
21 changed files with 374 additions and 106 deletions
-1
View File
@@ -893,7 +893,6 @@ dependencies = [
name = "subxt-core-no-std-tests"
version = "0.0.0"
dependencies = [
"libc",
"libc_alloc",
"parity-scale-codec",
"subxt-core",
-1
View File
@@ -10,7 +10,6 @@ subxt-metadata = { path = "../../metadata", default-features = false }
subxt-signer = { path = "../../signer", default-features = false, features = ["sr25519", "ecdsa", "subxt"] }
subxt-core = { path = "../../core", 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]
+4 -8
View File
@@ -1,11 +1,7 @@
# no_std tests
# No-Std Testing Crate
This crate makes sure some of the subxt-* crates work in a no-std environment.
To test the no-std compatibility of various subxt-* crates, please run:
We would like it to run in a no-std environment. You can try any of the following to get it to compile:
```bash
cargo build --target thumbv7em-none-eabi
```
cargo run
cargo build --target thumbv7em-none-eabi
cargo build --target aarch64-unknown-none
```
Currently it does not compile due to linker errors and I have no idea how to resovle these.