Skip to content

Commit 15b874d

Browse files
committed
Drop c2rust-bitfields dependency
This has been currently a source of compilation failures on native in the past, and modules that pull in anything bitfieldish should just not go through c2rust in the first place.
1 parent 28c8806 commit 15b874d

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ links = "riot-sys"
1616

1717
[dependencies]
1818
c2rust-asm-casts = "0.2"
19-
# Relevant for some boards like the wemos-zero
20-
c2rust-bitfields = { version = "0.3", features = ["no_std"] }
2119

2220
# optionally use RIOT-rs's riot-build
2321
riot-build = { version = "< 0.2.0", optional = true }

src/inline.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ macro_rules! llvm_asm {
8989

9090
use core::ffi as libc;
9191

92-
use c2rust_bitfields::*;
93-
9492
// This is a replacement for the `pub type __locale_t` and the IO lines that C2Rust generates
9593
// because of something from stdlib; it is stripped out of the compiled code and turned into a u8
9694
// pointer for lack of better ideas. (Leaving it as a pub struct would require unstable Rust).

0 commit comments

Comments
 (0)