Skip to content

Commit

Permalink
Merge pull request #1026 from stlankes/mono
Browse files Browse the repository at this point in the history
rename the feature "syscall" to "common-os"
  • Loading branch information
stlankes authored Jan 8, 2024
2 parents 0b55b3a + b3eab16 commit af629b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tcp = ["smoltcp", "smoltcp/socket-tcp"]
udp = ["smoltcp", "smoltcp/socket-udp"]
trace = []
vga = []
syscall = []
common-os = []

[dependencies]
ahash = { version = "0.8", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ macro_rules! dbg {
#[cfg(not(any(
target_arch = "riscv64",
all(target_arch = "x86_64", feature = "newlib"),
feature = "syscall"
feature = "common-os"
)))]
macro_rules! kernel_function {
($f:ident()) => {
Expand Down Expand Up @@ -113,7 +113,7 @@ macro_rules! kernel_function {
#[cfg(any(
target_arch = "riscv64",
all(target_arch = "x86_64", feature = "newlib"),
feature = "syscall"
feature = "common-os"
))]
macro_rules! kernel_function {
($f:ident($($x:tt)*)) => {{
Expand Down

0 comments on commit af629b0

Please sign in to comment.