Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a42e74c

Browse files
fix: new cfg_match syntax
Signed-off-by: Anhad Singh <[email protected]>
1 parent b83aa1d commit a42e74c

File tree

1 file changed

+2
-2
lines changed
  • src/aero_kernel/src/drivers

1 file changed

+2
-2
lines changed

src/aero_kernel/src/drivers/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ pub mod pty;
3636
pub mod tty;
3737

3838
cfg_match! {
39-
cfg(target_arch = "x86_64") => {
39+
target_arch = "x86_64" => {
4040
pub mod uart_16550;
4141
pub use self::uart_16550 as uart;
4242
}
4343

44-
cfg(target_arch = "aarch64") => {
44+
target_arch = "aarch64" => {
4545
pub mod uart_pl011;
4646
pub use self::uart_pl011 as uart;
4747
}

0 commit comments

Comments
 (0)