Skip to content

Commit 1ef72f8

Browse files
committed
update
1 parent 7d30b15 commit 1ef72f8

File tree

12 files changed

+13
-12
lines changed

12 files changed

+13
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
resolver = "3"
2+
resolver = "2"
33
members = ["app/*", "crates/*"]
44

55
[workspace.package]

crates/bare-test-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bare-test-macros"
33
version = "0.2.0"
4-
edition = "2021"
4+
edition.workspace = true
55
license = "MIT"
66
description = "macros for bare-test"
77
authors = ["周睿 <[email protected]>"]

crates/bare-test-macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern crate proc_macro2;
66
extern crate syn;
77

88
use proc_macro::TokenStream;
9-
use syn::{parse, spanned::Spanned, Item, ItemMod};
9+
use syn::{Item, ItemMod, parse, spanned::Spanned};
1010

1111
#[proc_macro]
1212
pub fn build_test_setup(_input: TokenStream) -> TokenStream {

crates/bare-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bare-test"
33
version = "0.3.1"
44
authors = ["Zhourui <[email protected]>"]
5-
edition = "2021"
5+
edition.workspace = true
66
repository = "https://github.com/qclic/sparreal-os/tree/main/crates/bare-test"
77
license = "MPL-2.0"
88
description = "A test framework for bare metal."

crates/driver-interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "driver-interface"
33
version = "0.2.0"
44
authors = ["Zhourui <[email protected]>"]
5-
edition = "2021"
5+
edition.workspace = true
66
repository = "https://github.com/qclic/sparreal-os"
77
license = "MPL-2.0"
88
description = "Sparreal OS kernel"

crates/driver-interface/src/interrupt_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use core::{error::Error, fmt::Debug};
22

3-
use crate::{custom_type, DriverGeneric, RegAddress};
3+
use crate::{DriverGeneric, RegAddress, custom_type};
44
use alloc::{boxed::Box, vec::Vec};
55

66
custom_type!(IrqId, usize, "{:#x}");

crates/driver-interface/src/timer/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use core::{
2-
sync::atomic::{fence, Ordering},
2+
sync::atomic::{Ordering, fence},
33
time::Duration,
44
};
55

6-
use crate::{interrupt_controller::IrqConfig, DriverGeneric};
6+
use crate::{DriverGeneric, interrupt_controller::IrqConfig};
77
use alloc::{boxed::Box, vec::Vec};
88

99
mod queue;

crates/page-table-arm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "page-table-arm"
33
description = "A library of arm page table"
44
version = "0.1.0"
5-
edition = "2024"
5+
edition.workspace = true
66
authors = ["周睿 <[email protected]>"]
77
repository = "https://github.com/qclic/sparreal-os/tree/main/crates/page-table-arm"
88
documentation = "https://docs.rs/page-table-arm"

crates/sparreal-kernel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "sparreal-kernel"
33
version.workspace = true
44
authors = ["周睿 <[email protected]>"]
5-
edition = "2024"
5+
edition.workspace = true
66
repository = "https://github.com/ZR233/sparreal-os"
77
license = "MPL-2.0"
88
description = "Sparreal OS kernel"

crates/sparreal-kernel/src/async_std/time.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
use core::future::Future;
12
use core::time::Duration;
23

34
use crate::time::since_boot;

0 commit comments

Comments
 (0)