Skip to content

Commit 5452e6a

Browse files
authored
bump: downgrade cargo edition to 2021 (#5)
* bump: downgrade cargo edition to 2021 * fix: add `#[rustfmt::skip]` on the `registers` module
1 parent 64b3b1c commit 5452e6a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ members = [
33
"xuantie-riscv",
44
"xuantie-riscv-rt",
55
]
6-
resolver = "3"
6+
resolver = "2"
77

88
[workspace.package]
9-
edition = "2024"
9+
edition = "2021"
1010
license = "MulanPSL-2.0"
1111
repository = "https://github.com/rustsbi/xuantie"

xuantie-riscv/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,6 @@ pub mod asm;
7070
pub mod debug;
7171
pub mod paging;
7272
pub mod peripheral;
73+
74+
#[rustfmt::skip]
7375
pub mod register;

0 commit comments

Comments
 (0)