Skip to content

Commit 0d43bc7

Browse files
committed
Update stm32f4-0.14.0 configuration
1 parent 12232fc commit 0d43bc7

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

collector/benchmarks/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ They mostly consist of real-world crates.
4040
- **serde**: A serialization/deserialization crate. Used by many other
4141
Rust programs.
4242
- **stm32f4**: A crate that has many thousands of blanket impl blocks.
43+
- **stm32f4-0.14.0**: A crate that has many thousands of blanket impl blocks.
4344
- **syn**: A library for parsing Rust code. An important part of the Rust
4445
ecosystem.
4546
- **unicode_normalization**: Unicode character composition and decomposition
Lines changed: 13 additions & 0 deletions
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 f0184cd4..2712ae45 100644
3+
--- a/src/generic.rs
4+
+++ b/src/generic.rs
5+
@@ -277,7 +277,6 @@ impl<FI> FieldReader<bool, 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/benchmarks/stm32f4-0.14.0/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ stm32f427 = []
5151
stm32f429 = []
5252
stm32f446 = []
5353
stm32f469 = []
54+
55+
[workspace]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2+
"cargo_opts": "--features=stm32f405",
23
"category": "primary"
34
}

0 commit comments

Comments
 (0)