Skip to content

Commit 6973a82

Browse files
committed
Add extra pieces.
1 parent d8d0f2e commit 6973a82

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

collector/compile-benchmarks/REUSE.toml

+5
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ path = "stm32f4-0.14.0/**"
225225
SPDX-FileCopyrightText = "stm32-rs contributors"
226226
SPDX-License-Identifier = "MIT OR Apache-2.0"
227227

228+
[[annotations]]
229+
path = "stm32f4-0.15.1/**"
230+
SPDX-FileCopyrightText = "stm32-rs contributors"
231+
SPDX-License-Identifier = "MIT OR Apache-2.0"
232+
228233
[[annotations]]
229234
path = "style-servo/**"
230235
SPDX-FileCopyrightText = "The Servo Project Developers"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/generic.rs b/src/generic.rs
2+
index d46b44a3..a2233c8c 100644
3+
--- a/src/generic.rs
4+
+++ b/src/generic.rs
5+
@@ -316,7 +316,7 @@ impl<FI> BitReader<FI> {
6+
/// Returns `true` if the bit is set (1).
7+
#[inline(always)]
8+
pub fn bit_is_set(&self) -> bool {
9+
- self.bit()
10+
+ !self.bit()
11+
}
12+
}
13+

collector/compile-benchmarks/stm32f4-0.15.1/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ stm32f427 = []
7070
stm32f429 = []
7171
stm32f446 = []
7272
stm32f469 = []
73+
74+
[workspace]
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"cargo_opts": "--features=stm32f410",
23
"artifact": "library",
34
"category": "primary"
45
}

0 commit comments

Comments
 (0)