Skip to content

Instantly share code, notes, and snippets.

@thejpster
Created July 27, 2025 13:35
Show Gist options
  • Save thejpster/67015f991d87f0f76e73d5c877b2d47b to your computer and use it in GitHub Desktop.
Save thejpster/67015f991d87f0f76e73d5c877b2d47b to your computer and use it in GitHub Desktop.
diff --color -r cortex-m-07x-branch/build.rs cortex-m-master/cortex-m/build.rs
30a31,40
> println!("cargo:rustc-check-cfg=cfg(armv6m)");
> println!("cargo:rustc-check-cfg=cfg(armv7m)");
> println!("cargo:rustc-check-cfg=cfg(armv7em)");
> println!("cargo:rustc-check-cfg=cfg(armv8m)");
> println!("cargo:rustc-check-cfg=cfg(armv8m_base)");
> println!("cargo:rustc-check-cfg=cfg(armv8m_main)");
> println!("cargo:rustc-check-cfg=cfg(cortex_m)");
> println!("cargo:rustc-check-cfg=cfg(has_fpu)");
> println!("cargo:rustc-check-cfg=cfg(native)");
>
Only in cortex-m-07x-branch: .cargo
diff --color -r cortex-m-07x-branch/Cargo.toml cortex-m-master/cortex-m/Cargo.toml
16a17
> rust-version = "1.61"
41,43d41
<
< [workspace]
< members = ["xtask", "cortex-m-semihosting", "panic-semihosting", "panic-itm"]
diff --color -r cortex-m-07x-branch/CHANGELOG.md cortex-m-master/cortex-m/CHANGELOG.md
9a10,11
> - MSRV is 1.61 to match cortex-m-rt crate
>
Only in cortex-m-07x-branch: CODE_OF_CONDUCT.md
Only in cortex-m-07x-branch: cortex-m-semihosting
Only in cortex-m-07x-branch: .git
Only in cortex-m-07x-branch: .github
Only in cortex-m-07x-branch: .gitignore
Only in cortex-m-07x-branch: LICENSE-APACHE
Only in cortex-m-07x-branch: LICENSE-MIT
Only in cortex-m-07x-branch: panic-itm
Only in cortex-m-07x-branch: panic-semihosting
diff --color -r cortex-m-07x-branch/README.md cortex-m-master/cortex-m/README.md
14c14
< This crate is guaranteed to compile on stable Rust 1.59 and up. It might compile with older versions but that may change in any new patch release.
---
> This crate is guaranteed to compile on stable Rust 1.61 and up. It might compile with older versions but that may change in any new patch release.
38c38
< [CoC]: CODE_OF_CONDUCT.md
---
> [CoC]: ../CODE_OF_CONDUCT.md
diff --color -r cortex-m-07x-branch/src/lib.rs cortex-m-master/cortex-m/src/lib.rs
34c34
< //! and may cause functional problems in systems where some interrupts must be not be disabled
---
> //! and may cause functional problems in systems where some interrupts must not be disabled
66c66
< //! This crate is guaranteed to compile on stable Rust 1.59 and up. It *might*
---
> //! This crate is guaranteed to compile on stable Rust 1.61 and up. It *might*
diff --color -r cortex-m-07x-branch/src/peripheral/mod.rs cortex-m-master/cortex-m/src/peripheral/mod.rs
65c65
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
99c99
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
183c183
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
235c235
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
240c240
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
243c243
< #[cfg(cm7)]
---
> #[cfg(feature = "cm7")]
Only in cortex-m-07x-branch: target
Only in cortex-m-07x-branch: triagebot.toml
Only in cortex-m-07x-branch: xtask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment