Skip to content

Commit

Permalink
common: expose util module always, remove kernel feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Aug 8, 2024
1 parent e172232 commit 9ad619b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
6 changes: 0 additions & 6 deletions oro-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,5 @@ doctest = false
default = []
dbgutil = []

# Do NOT enable this feature for preboot environments.
# It acts as a somewhat tight-coupling of functionality
# that is not stable nor guaranteed to be available in all
# cases and that preboot environments MUST NOT rely on.
kernel = []

[dependencies]
oro-common-proc.workspace = true
4 changes: 0 additions & 4 deletions oro-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,4 @@ pub mod preboot;
pub mod proc;
pub mod ser2mem;
pub mod sync;

#[cfg(feature = "kernel")]
pub mod util;
#[cfg(not(feature = "kernel"))]
pub(crate) mod util;
2 changes: 1 addition & 1 deletion oro-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ doc = false

[dependencies]
oro-arch.workspace = true
oro-common = { workspace = true, features = ["kernel"] }
oro-common.workspace = true

[target.'cfg(target_arch = "x86_64")'.dependencies]
oro-arch-x86_64.workspace = true
Expand Down

0 comments on commit 9ad619b

Please sign in to comment.