diff --git a/substrate/ci/script.sh b/substrate/ci/script.sh index cc74d269d0..0ab5f34fb2 100755 --- a/substrate/ci/script.sh +++ b/substrate/ci/script.sh @@ -20,7 +20,7 @@ case $TARGET in sudo apt-get -y update sudo apt-get install -y cmake pkg-config libssl-dev - cargo test --all --locked + cargo test --all --release --locked ;; "wasm") diff --git a/substrate/core/client/src/blockchain.rs b/substrate/core/client/src/blockchain.rs index 36bf3455a6..ff2fa81259 100644 --- a/substrate/core/client/src/blockchain.rs +++ b/substrate/core/client/src/blockchain.rs @@ -121,7 +121,7 @@ pub struct RouteEntry { /// The ancestry sets will include the given blocks, and thus the tree-route is /// never empty. /// -/// ```ignore +/// ```text /// Tree route from R1 to E2. Retracted is [R1, R2, R3], Common is C, enacted [E1, E2] /// <- R3 <- R2 <- R1 /// / @@ -129,7 +129,7 @@ pub struct RouteEntry { /// \-> E1 -> E2 /// ``` /// -/// ```ignore +/// ```text /// Tree route from C to E2. Retracted empty. Common is C, enacted [E1, E2] /// C -> E1 -> E2 /// ``` diff --git a/substrate/core/executor/src/wasm_utils.rs b/substrate/core/executor/src/wasm_utils.rs index 42f9c3312d..99af25cb16 100644 --- a/substrate/core/executor/src/wasm_utils.rs +++ b/substrate/core/executor/src/wasm_utils.rs @@ -107,7 +107,7 @@ macro_rules! unmarshall_args { /// Since we can't specify the type of closure directly at binding site: /// -/// ```rust,ignore +/// ```nocompile /// let f: FnOnce() -> Result<::NativeType, _> = || { /* ... */ }; /// ``` /// diff --git a/substrate/srml/contract/src/vm/env_def/macros.rs b/substrate/srml/contract/src/vm/env_def/macros.rs index d76b4fbd99..16ba669daf 100644 --- a/substrate/srml/contract/src/vm/env_def/macros.rs +++ b/substrate/srml/contract/src/vm/env_def/macros.rs @@ -68,7 +68,7 @@ macro_rules! unmarshall_then_body { /// Since we can't specify the type of closure directly at binding site: /// -/// ```rust,ignore +/// ```nocompile /// let f: FnOnce() -> Result<::NativeType, _> = || { /* ... */ }; /// ``` ///