File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 27
27
steps :
28
28
- uses : actions/checkout@v4
29
29
- name : Check semver
30
+ # Allow failure until we update all the package versions.
31
+ continue-on-error : true
30
32
uses : obi1kenobi/cargo-semver-checks-action@v2
31
33
build :
32
34
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ clippy.result_unit_err = "allow"
25
25
clippy.too_many_arguments = " allow"
26
26
clippy.type_complexity = " allow"
27
27
28
+ # Work around an issue in the objc crate.
29
+ # https://github.com/SSheldon/rust-objc/issues/125
30
+ [workspace .lints .rust ]
31
+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(feature, values("cargo-clippy"))' ] }
32
+
28
33
[workspace .dependencies ]
29
34
cocoa-foundation = { default-features = false , path = " cocoa-foundation" , version = " 0.2" }
30
35
core-foundation = { default-features = false , path = " core-foundation" , version = " 0.10" }
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ pub type CGEventMask = u64;
498
498
/* Generate an event mask for a single type of event. */
499
499
macro_rules! CGEventMaskBit {
500
500
( $eventType: expr) => {
501
- 1 << $eventType as CGEventMask
501
+ ( 1 << $eventType as CGEventMask )
502
502
} ;
503
503
}
504
504
You can’t perform that action at this time.
0 commit comments