Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions c2rust-transpile/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ impl ExternCrateDetails {
impl From<ExternCrate> for ExternCrateDetails {
fn from(extern_crate: ExternCrate) -> Self {
match extern_crate {
ExternCrate::C2RustBitfields => Self::new("c2rust-bitfields", "0.3", true),
ExternCrate::C2RustAsmCasts => Self::new("c2rust-asm-casts", "0.2", true),
ExternCrate::C2RustBitfields => Self::new("c2rust-bitfields", "0.21", true),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get the version of the transpiler here, and make sure it always matches?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sure, I think we can do that, too. I'll add a commit.

ExternCrate::C2RustAsmCasts => Self::new("c2rust-asm-casts", "0.21", true),
ExternCrate::F128 => Self::new("f128", "0.2", false),
ExternCrate::NumTraits => Self::new("num-traits", "0.2", true),
ExternCrate::Memoffset => Self::new("memoffset", "0.5", true),
Expand Down
Loading