Skip to content

Commit eeb4c9c

Browse files
committed
test(port_std): add #![feature(const_trait_impl)] to the benchmark test
Fixes it failing to compile.
1 parent 6cc3119 commit eeb4c9c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ jobs:
156156
args: --workspace -- ${{ env.testflags }}
157157
env:
158158
RUST_LOG: debug
159+
- name: Test (-p r3_port_std --benches)
160+
uses: actions-rs/cargo@v1
161+
with:
162+
command: test
163+
args: -p r3_port_std --benches -- ${{ env.testflags }}
164+
env:
165+
RUST_LOG: debug
159166

160167
# Run tests on the host system with a subset of optional features enabled
161168
test-hosted-subset:

src/r3_port_std/benches/test_suite.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! Runs test cases defined in `r3_test_suite`.
22
#![feature(const_refs_to_cell)]
3+
#![feature(const_trait_impl)]
34
#![feature(const_mut_refs)]
45
#![feature(slice_ptr_len)]
56
#![feature(never_type)]

0 commit comments

Comments
 (0)