File tree 2 files changed +9
-6
lines changed 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 24
24
with :
25
25
targets : ${{ matrix.target }}
26
26
toolchain : ${{ matrix.toolchain }}
27
- - run : cargo check --target=${{ matrix.target }} --examples
28
- - if : ${{ matrix.toolchain == 'nightly' }}
29
- run : cargo check --target=${{ matrix.target }} --examples --all-features
27
+ - run : cargo check --target=${{ matrix.target }} --examples --no-default-features --features 'llff'
28
+ - run : cargo check --target=${{ matrix.target }} --examples --no-default-features --features 'tlsf'
30
29
31
30
clippy :
32
31
name : Clippy
38
37
components : clippy
39
38
toolchain : nightly
40
39
targets : thumbv6m-none-eabi
41
- - run : cargo clippy --all-features --examples --target=thumbv6m-none-eabi -- --deny warnings
40
+ - run : cargo clippy --examples --target=thumbv6m-none-eabi --no-default-features --features 'llff' -- --deny warnings
41
+ - run : cargo clippy --examples --target=thumbv6m-none-eabi --no-default-features --features 'tlsf' -- --deny warnings
42
42
43
43
format :
44
44
name : Format
58
58
- uses : actions/checkout@v4
59
59
- uses : dtolnay/rust-toolchain@nightly
60
60
- name : rustdoc
61
- run : cargo rustdoc --all-features
61
+ run : cargo rustdoc --no-default-features --features 'llff'
62
+ run : cargo rustdoc --no-default-features --features 'tlsf'
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ use critical_section::Mutex;
11
11
12
12
// Exactly one of these features must be enabled: "llff" or "tlsf"
13
13
#[ cfg( all( feature = "tlsf" , feature = "llff" ) ) ]
14
- compile_error ! ( "You can't enable both 'tlsf' and 'llff' features simultaneously. Choose one allocator." ) ;
14
+ compile_error ! (
15
+ "You can't enable both 'tlsf' and 'llff' features simultaneously. Choose one allocator."
16
+ ) ;
15
17
16
18
#[ cfg( feature = "llff" ) ]
17
19
use linked_list_allocator:: Heap as LLHeap ;
You can’t perform that action at this time.
0 commit comments