File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 75
75
- run : cargo build
76
76
- run : cargo test --tests
77
77
78
+ test-features-all :
79
+ name : " Test Suite [all features]"
80
+ runs-on : ubuntu-latest
81
+ steps :
82
+ - uses : actions/checkout@v4
83
+ - uses : dtolnay/rust-toolchain@stable
84
+ - run : cargo build --all-features
85
+ - run : cargo test --tests --all-features
86
+
87
+ # The main reason for this target is to test compilation on 32bit targets
88
+ test-features-android-32bit :
89
+ name : " Test Suite [all features (i686-linux-android)]"
90
+ runs-on : ubuntu-latest
91
+ steps :
92
+ - uses : actions/checkout@v4
93
+ - uses : dtolnay/rust-toolchain@stable
94
+ with :
95
+ targets : i686-linux-android
96
+ - run : cargo build --all-features --target i686-linux-android
97
+ # TODO: enable tests (currently running into linking errors)
98
+ # - run: cargo test --tests --all-features --target i686-linux-android
99
+
78
100
test-features-default-with-serde :
79
101
name : " Test Suite [default + serde]"
80
102
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ mod inner {
197
197
#[ inline( always) ]
198
198
#[ cfg( feature = "serde" ) ]
199
199
pub ( super ) fn from_serialized ( value : u64 ) -> Self {
200
- Self { tag : value >> 32 as usize , ptr : value & 0xFFFFFFFF as usize as * const ( ) }
200
+ Self { tag : ( value >> 32 ) as usize , ptr : ( value & 0xFFFFFFFF ) as usize as * const ( ) }
201
201
}
202
202
}
203
203
}
You can’t perform that action at this time.
0 commit comments