mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
Subxt Metadata: #[no_std] compatibility (#1401)
* no-std tests and porting of subxt-metadata * update pipeline * fix generate custom metadata test * fix cargo run command * adjust pipeline * remove prelude from subxt-metadata * revert autoformatting of Cargo.toml * remove alloc::format! again, still causes linker errors * add no-std-build for thumbv7em-none-eabi target * remove std feature flag * remove libc and add small readme with test instructions * change ci for nightly no std
This commit is contained in:
committed by
Tadeo hepperle
parent
db00212ba6
commit
fda9a5fd0c
@@ -436,10 +436,10 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
target: thumbv7em-none-eabi
|
||||
|
||||
- name: Add the `thumbv7em-none-eabi` target
|
||||
run: |
|
||||
rustup target add `thumbv7em-none-eabi`
|
||||
- name: Install the gcc-arm-none-eabi linker
|
||||
run: sudo apt install gcc-arm-none-eabi
|
||||
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
|
||||
@@ -448,8 +448,7 @@ jobs:
|
||||
# We can only make sure that they compile to ARM thumb ISA.
|
||||
# Running the binary and inspecting the output would require an actual machine with matching ISA or some sort of emulator.
|
||||
- name: Compile `no-std-tests` crate to `thumbv7em-none-eabi` target.
|
||||
run: |
|
||||
cargo build --target thumbv7em-none-eabi
|
||||
run: cargo build --target thumbv7em-none-eabi
|
||||
working-directory: testing/no-std-tests
|
||||
|
||||
- if: "failure()"
|
||||
|
||||
Reference in New Issue
Block a user