Skip to content

Commit

Permalink
fix no-std-test build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Jan 24, 2025
1 parent b74852e commit 9ad6cc3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions testing/no-std-tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
// see LICENSE for license details.

#![allow(internal_features)]
#![feature(lang_items, start)]
#![feature(alloc_error_handler)]
#![feature(lang_items, alloc_error_handler)]
#![no_std]

#[start]
Expand Down Expand Up @@ -60,11 +59,10 @@ fn compile_test() {

// Subxt Core compiles:
let _era = subxt_core::utils::Era::Immortal;

}

#[subxt_macro::subxt(
runtime_metadata_path = "../../artifacts/polkadot_metadata_full.scale",
crate="::subxt_core"
crate = "::subxt_core"
)]
pub mod polkadot{}
pub mod polkadot {}

0 comments on commit 9ad6cc3

Please sign in to comment.