Skip to content

Commit

Permalink
Fix nostd build
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Apr 8, 2024
1 parent 813ba6b commit 703256e
Show file tree
Hide file tree
Showing 18 changed files with 3,368 additions and 1,683 deletions.
83 changes: 2 additions & 81 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resolver = "2"

members = [
"umbrella",

"bridges/bin/runtime-common",
"bridges/chains/chain-asset-hub-rococo",
"bridges/chains/chain-asset-hub-westend",
Expand Down Expand Up @@ -516,7 +517,11 @@ members = [
"templates/parachain/pallets/template",
"templates/parachain/runtime",
]
default-members = ["polkadot", "substrate/bin/node/cli"]
default-members = [
"polkadot",
"substrate/bin/node/cli",
"umbrella",
]

[workspace.lints.rust]
suspicious_double_ref_op = { level = "allow", priority = 2 }
Expand Down
8 changes: 1 addition & 7 deletions bridges/snowbridge/pallets/ethereum-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,7 @@ serde = { workspace = true, default-features = true }

[features]
default = ["std"]
fuzzing = [
"hex-literal",
"pallet-timestamp",
"serde",
"serde_json",
"sp-io",
]
fuzzing = ["hex-literal", "pallet-timestamp", "serde", "serde_json", "sp-io"]
std = [
"bp-runtime/std",
"byte-slice-cast/std",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ sp-crypto-hashing = { path = "../../../../../substrate/primitives/crypto/hashing

[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"sp-core/std",
"sp-runtime/std",
]
std = ["codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std"]
4 changes: 3 additions & 1 deletion cumulus/polkadot-parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,6 @@ try-runtime = [
"sp-runtime/try-runtime",
]
fast-runtime = ["bridge-hub-rococo-runtime/fast-runtime"]
elastic-scaling-experimental = ["polkadot-service/elastic-scaling-experimental"]
elastic-scaling-experimental = [
"polkadot-service/elastic-scaling-experimental",
]
5 changes: 4 additions & 1 deletion polkadot/node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ try-runtime = [
"sp-runtime/try-runtime",
"westend-runtime?/try-runtime",
]
fast-runtime = ["rococo-runtime?/fast-runtime", "westend-runtime?/fast-runtime"]
fast-runtime = [
"rococo-runtime?/fast-runtime",
"westend-runtime?/fast-runtime",
]

malus = ["full-node"]
runtime-metrics = [
Expand Down
6 changes: 5 additions & 1 deletion polkadot/xcm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ std = [
"serde/std",
"sp-weights/std",
]
json-schema = ["bounded-collections/json-schema", "dep:schemars", "sp-weights/json-schema"]
json-schema = [
"bounded-collections/json-schema",
"dep:schemars",
"sp-weights/json-schema",
]
Loading

0 comments on commit 703256e

Please sign in to comment.