Skip to content

Commit

Permalink
bump: downgrade cargo edition to 2021 (#5)
Browse files Browse the repository at this point in the history
* bump: downgrade cargo edition to 2021

* fix: add `#[rustfmt::skip]` on the `registers` module
  • Loading branch information
guttatus authored Dec 14, 2024
1 parent 64b3b1c commit 5452e6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ members = [
"xuantie-riscv",
"xuantie-riscv-rt",
]
resolver = "3"
resolver = "2"

[workspace.package]
edition = "2024"
edition = "2021"
license = "MulanPSL-2.0"
repository = "https://github.com/rustsbi/xuantie"
2 changes: 2 additions & 0 deletions xuantie-riscv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ pub mod asm;
pub mod debug;
pub mod paging;
pub mod peripheral;

#[rustfmt::skip]
pub mod register;

0 comments on commit 5452e6a

Please sign in to comment.