File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,16 @@ jobs:
43
43
- name : Check formatting
44
44
run : cargo fmt --all --verbose -- --check
45
45
46
+ # We always run the next two steps, so that even if formatting fails we
47
+ # still get compilation errors for the same run (mainly for matchers).
48
+
46
49
- name : Cargo check ctru-sys (without tests)
47
50
run : cargo 3ds clippy --package ctru-sys --color=always --verbose
51
+ if : success() || failure()
48
52
49
53
- name : Cargo check ctru-rs (including tests)
50
54
run : cargo 3ds clippy --package ctru-rs --color=always --verbose --all-targets
55
+ if : success() || failure()
51
56
52
57
test :
53
58
strategy :
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ fn main() {
73
73
. use_core ( )
74
74
. trust_clang_mangling ( false )
75
75
. must_use_type ( "Result" )
76
- . layout_tests ( false )
76
+ . layout_tests ( true )
77
77
. ctypes_prefix ( "::libc" )
78
78
. prepend_enum_name ( false )
79
79
. blocklist_type ( "u(8|16|32|64)" )
You can’t perform that action at this time.
0 commit comments